[WIP][Validator] Allow "_" and "~" as valid Urls

| Q             | A
| ------------- | ---
| Bug fix?      | no?
| New feature?  | yes?
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #10467
| License       | MIT
| Doc PR        | -