Skip to content

Commit

Permalink
made start-line regex a little more strict
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 5, 2014
1 parent 3264410 commit 199ca71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

4.92 2014-04-04
4.92 2014-04-05
- Removed deprecated use of hash references for optgroup generation with
select_field helper.

Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Message/Request.pm
Expand Up @@ -14,7 +14,7 @@ my $START_LINE_RE = qr/
([a-zA-Z]+) # Method
\s+
([0-9a-zA-Z!#\$\%&'()*+,\-.\/:;=?\@[\\\]^_`\{|\}~]+) # URL
(?:\s+HTTP\/(\d\.\d))? # Version
\s+HTTP\/(\d\.\d) # Version
$
/x;

Expand Down

0 comments on commit 199ca71

Please sign in to comment.