/[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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 653 by dpavlin, Sun Nov 30 01:46:13 2008 UTC revision 654 by dpavlin, Mon Dec 1 12:43:33 2008 UTC
# Line 1  Line 1 
1  diff --git a/lib/Mojo/Message/Request.pm b/lib/Mojo/Message/Request.pm  diff --git a/lib/Mojo/Message/Request.pm b/lib/Mojo/Message/Request.pm
2  index 7b34661..d6cf32e 100755  index 7b34661..c390d37 100755
3  --- a/lib/Mojo/Message/Request.pm  --- a/lib/Mojo/Message/Request.pm
4  +++ b/lib/Mojo/Message/Request.pm  +++ b/lib/Mojo/Message/Request.pm
5  @@ -219,7 +219,7 @@ sub _parse_start_line {  @@ -219,7 +219,7 @@ sub _parse_start_line {
# Line 7  index 7b34661..d6cf32e 100755 Line 7  index 7b34661..d6cf32e 100755
7               ([a-zA-Z]+)                                    # Method               ([a-zA-Z]+)                                    # Method
8               \s+                                            # Whitespace               \s+                                            # Whitespace
9  -            ([0-9a-zA-Z\$\-_\.\!\?\#\=\*\(\)\,\%\/\&\~]+)  # Path  -            ([0-9a-zA-Z\$\-_\.\!\?\#\=\*\(\)\,\%\/\&\~]+)  # Path
10  +            ([0-9a-zA-Z\$\-_\.\!\?\#\=\*\(\)\,\%\/\&\~\:\+]+)  # Path  +            ([0-9a-zA-Z\$\-_\.\!\?\#\=\*\(\)\,\%\/\&\~\:\+\|]+)  # Path
11               (?:\s+HTTP\/(\d+)\.(\d+))?                     # Version (optional)               (?:\s+HTTP\/(\d+)\.(\d+))?                     # Version (optional)
12               $                                              # End               $                                              # End
13           /x           /x

Legend:
Removed from v.653  
changed lines
  Added in v.654

  ViewVC Help
Powered by ViewVC 1.1.26