diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-01-06 17:08:59 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-01-06 17:08:59 +0100 |
commit | 5b8009dbd06f9a09065843de8eb5f8f680bb4f37 (patch) | |
tree | 126eeaec3ab07312dd4f5c32f56faa47d4d6435b /lib/URL/Grammar.pm6 | |
parent | 9b6ceba4f1df99b262ebbcffcdb30b1ed16f9b42 (diff) |
Thanks to chacewells@gmail.com for reporting this issue.
Diffstat (limited to 'lib/URL/Grammar.pm6')
-rw-r--r-- | lib/URL/Grammar.pm6 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/URL/Grammar.pm6 b/lib/URL/Grammar.pm6 index 2f5cd45..e14f2a4 100644 --- a/lib/URL/Grammar.pm6 +++ b/lib/URL/Grammar.pm6 @@ -21,7 +21,7 @@ token password { <-[ @ ]>+ } token host { <hostname> [ ":" <port> ]? } token hostname { [ <-[ / : # ? \h ]>+ | "[" <-[ \] ]>+ "]" ] } token port { \d ** 1..5 } -token path { "/" <part=.path-part>* % "/" } +token path { "/" <part=.path-part>* %% "/" } token path-part { <-[ / ? # ]>+ } token query { <part=.query-part>* % "&" } token query-part { <key=.query-part-key> "=" <value=.query-part-value> } @@ -33,7 +33,7 @@ token fragment { <-[ \s ]>+ } =NAME URL::Grammar =AUTHOR Patrick Spek <p.spek@tyil.work> -=VERSION 0.2.0 +=VERSION 0.2.1 =head1 Synopsis |