Commit fa2593d
committed
Allows underscores in URL hosts
Underscore is a valid character in the host portion of a URL but the simply URL validation regex does not currently support it. Ideally this would be using `urllib` or `urlparse` but since that module changed from 2 to 3 the simple fix is to just update the regex.1 parent c45c0f8 commit fa2593d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments