News for hackers. Stuff that matters.
Re:How not to do URL redirects (… the way Quora does) by alexchamberlain on Thursday January 19, 2012 @11:40AM (#3485225)
When a user submits a link and before inserting it into HTML, URL encode it and append it to a generic redirector, such as

www.example.com/redirect?url=http%3A%2F%2Fwww.example.net

www.example.com/redirect should record url and return 302 with Location set to www.example.net.

There are no comments on this comment yet.