Hello Community,
in http://cmsimpleforum.com/viewtopic.php?f=6&t=5969 a problem regarding the relocation after saving the editor content was reported. This is most likely related to the fact, that the location header was not specified as absoluteURI as specified by RFC 2616, section 14.30, but as relative path (cf. http://cmsimple.org/forum/viewtopic.php ... =197&p=318).
This should be fixed in XH 1.5.7 (as the relocation was introduced in 1.5, no changes are necessary for 1.1.x and 1.4.x).
This relocation is the only one in the core and pluginloader; the relocation in Pagemanager uses an absolute URI; the one in page_params just uses the input value, what I consider okay for simplicity (these redirects might often point to external sites using an absolute URL anyway; however, documenting the issue seems to be appropriate).
Furthermore I suggest to use the "303 See Other" response code for such relocations instead of the default "302 Found" (see RFC 2616, section 10.3.3f).
Christoph
XH 1.5.7: Location Headers
XH 1.5.7: Location Headers
Last edited by cmb on Tue Oct 01, 2013 10:46 pm, edited 1 time in total.
Reason: added Link to RFC 2616
Reason: added Link to RFC 2616
Christoph M. Becker – Plugins for CMSimple_XH