Project

General

Profile

Actions

Feature #12787

open

The url validator accepts bad urls like "https://"

Added by David Davis over 8 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

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 issues 2 (1 open1 closed)

Related to Foreman - Bug #12698: Insufficient URL validation for smart proxy and mediumClosedDaniel Lobato Garcia12/04/2015Actions
Blocks Katello - Refactor #12777: Use foreman's url_schema validatorNewDavid Davis12/11/2015Actions
Actions #1

Updated by David Davis over 8 years ago

  • Related to Bug #12698: Insufficient URL validation for smart proxy and medium added
Actions #2

Updated by David Davis over 8 years ago

  • 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://"
Actions #3

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2970 added
Actions #4

Updated by David Davis over 7 years ago

  • Status changed from Ready For Testing to New
Actions #5

Updated by David Davis over 7 years ago

Actions

Also available in: Atom PDF