Re: redirection question



Michael Fesser wrote:

.oO(Erwin Moller)

Michael Fesser wrote:

Additionally a Location header requires an absolute URL.

Erm...
I think that requirement was dropped some time ago.

HTTP was dropped? Damn. ;)

Hope not, then I am out of work!
And since I am really useless without internet...


14.30 Location
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30

Hmm yes. That sounds convincing.
Never trusts rfcs not recommended by me. ;-)

Here is one for you:
http://www.ietf.org/rfc/rfc3986.txt

It clearly describes relative referencing. (Part 4 and 5 mainly)

But judge for yourself.


And all browsers I have ever seen support the relative URL.

But you haven't seen all. And browsers are not the only user agents. A
bug doesn't become less of a bug, just because it works in the majority.

Well, that may be true.
I only aim my php for internetbrowsers, so I don't know jack about other
agents.
Thanks for the warning though.

Regards,
Erwin Moller


Micha

.



Relevant Pages

  • [Full-disclosure] sballmer@microsoft.com, root@apache.org
    ... Application: HTTP RFC ... Credit: Dan Kaminsky ... Bug ... Fredrick Diggle Security Services is probably the best application security ...
    (Full-Disclosure)
  • Re: Posting data to secure site fails
    ... >> I think I may have found another bug in IE. ... >> using the default self signed cert for the site. ... >> It does goto the page, ... >> I have tried it over http and it works every time. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Posting data to secure site fails
    ... > I think I may have found another bug in IE. ... > I have developed a web page to send payments online to paypal. ... > I have tried it over http and it works every time. ... It always works with netscape 7.1 regardless of ssl. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: [ANNOUNCE] GIT 1.0.0b quickfix
    ... >> I've pushed out a v1.0.0b maint release to fix a bug in HTTP ... > Wouldn't it make more sense for the maintenance release to be 1.0.1? ...
    (Linux-Kernel)