Hacker News new | ask | show | jobs
by brodd 4264 days ago
When trying to crawl a URL that sends a 302 with a relative URI reference in Location, it fails. E.g. if http://www.example.com sends a 302 with "Location: /en/".
1 comments

thank you! I was hunting for a similar bug and I think you've uncovered it.

Relative location headers are in HTTP 1.1 so we should respect them: http://en.wikipedia.org/wiki/HTTP_location#Relative_URL_exam...