/[Frey]/branches/no-pager/mojo-relax-url-chars.diff
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /branches/no-pager/mojo-relax-url-chars.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 702 - (show annotations)
Wed Dec 3 21:12:43 2008 UTC (15 years, 4 months ago) by dpavlin
File size: 722 byte(s)
branch for no-pager integration
1 diff --git a/lib/Mojo/Message/Request.pm b/lib/Mojo/Message/Request.pm
2 index 7b34661..c390d37 100755
3 --- a/lib/Mojo/Message/Request.pm
4 +++ b/lib/Mojo/Message/Request.pm
5 @@ -219,7 +219,7 @@ sub _parse_start_line {
6 ^\s* # Start
7 ([a-zA-Z]+) # Method
8 \s+ # Whitespace
9 - ([0-9a-zA-Z\$\-_\.\!\?\#\=\*\(\)\,\%\/\&\~]+) # Path
10 + ([0-9a-zA-Z\$\-_\.\!\?\#\=\*\(\)\,\%\/\&\~\:\+\|]+) # Path
11 (?:\s+HTTP\/(\d+)\.(\d+))? # Version (optional)
12 $ # End
13 /x

  ViewVC Help
Powered by ViewVC 1.1.26