Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
homakov
on May 6, 2014
|
parent
|
context
|
favorite
| on:
Rails Directory Traversal Vulnerability (CVE-2014-...
Redirects are hard to get right. Bypass 1 - //host.com. Even if you will use URI library Bypass 2 - ///host.com
epochwolf
on May 7, 2014
[–]
Good point, I'll need to modify the redirect to disallow multiple slashes at the beginning.
That should be something like /\A(http(s?):\/\/#{request.host_with_port}|\/\Z|\/[^\/])/
homakov
on May 8, 2014
|
parent
[–]
/\host.com
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: