Commit c87655f
committed
url: relax check to ignore semicolons in URLs
* according to RFC 1738 section 2.2, semicolons are reserved but valid
characters in URIs
* `urllib.parse.urlparse()` interprets semicolons as `params`
* thus, the check for no params in `is_url()` returns `False` for some
valid URLs1 parent 181b3db commit c87655f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments