aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/URL.pm62
-rw-r--r--lib/URL/Grammar.pm64
-rw-r--r--lib/URL/Grammar/Actions.pm62
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/URL.pm6 b/lib/URL.pm6
index fa9ebc8..113d902 100644
--- a/lib/URL.pm6
+++ b/lib/URL.pm6
@@ -139,7 +139,7 @@ multi method Str (
=NAME URL
=AUTHOR Patrick Spek <p.spek@tyil.work>
-=VERSION 0.2.0
+=VERSION 0.2.1
=head1 Synopsis
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
diff --git a/lib/URL/Grammar/Actions.pm6 b/lib/URL/Grammar/Actions.pm6
index 2ef70bb..be7dc4e 100644
--- a/lib/URL/Grammar/Actions.pm6
+++ b/lib/URL/Grammar/Actions.pm6
@@ -32,7 +32,7 @@ method fragment ($/) { make ~$/ }
=NAME URL::Grammar::Actions
=AUTHOR Patrick Spek <p.spek@tyil.work>
-=VERSION 0.2.0
+=VERSION 0.2.1
=head1 Synopsis