Feature #12787
open
The url validator accepts bad urls like "https://"
Added by David Davis over 9 years ago.
Updated over 8 years ago.
Description
[6] pry(main)> "https:://" =~ URI.regexp(["https"])
=> 0
[7] pry(main)> "https:badone" =~ URI.regexp(["https"])
=> 0
[8] pry(main)> "https://" =~ URI.regexp(["https"])
=> 0
[9] pry(main)> "https:" =~ URI.regexp(["https"])
=> 0
- Related to Bug #12698: Insufficient URL validation for smart proxy and medium added
- Tracker changed from Bug to Feature
- Subject changed from The url_schema validation accepts bad urls like "https://" to The url validator accepts bad urls like "https://"
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2970 added
- Status changed from Ready For Testing to New
Also available in: Atom
PDF