We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0be08bd + 84fff39 commit 91e596aCopy full SHA for 91e596a
engine/add.sh
@@ -21,7 +21,7 @@ function uri_parser() {
21
uri="${uri//\"/%22}"
22
23
# top level parsing
24
- pattern='^(([a-z]{3,5})://)?((([^:\/]+)(:([^@\/]*))?@)?([^:\/?]+)(:([0-9]+))?)(\/[^?]*)?(\?[^#]*)?(#.*)?$'
+ pattern='^(([a-z]{3,6})://)?((([^:\/]+)(:([^@\/]*))?@)?([^:\/?]+)(:([0-9]+))?)(\/[^?]*)?(\?[^#]*)?(#.*)?$'
25
[[ "$uri" =~ $pattern ]] || return 1;
26
27
# component extraction
0 commit comments