diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-10 09:31:28 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-10 09:31:28 +0000 |
| commit | 2c159be1c1d6c67e1e7218b9c24c47806bcdbeb0 (patch) | |
| tree | 37b5ca0774407733da4e26c73e5716d386ecf83e /lib | |
| parent | 2cf6badbcae161d2ab27c73efce5e425f1198e48 (diff) | |
| download | ruby-2c159be1c1d6c67e1e7218b9c24c47806bcdbeb0.tar.gz ruby-2c159be1c1d6c67e1e7218b9c24c47806bcdbeb0.tar.xz ruby-2c159be1c1d6c67e1e7218b9c24c47806bcdbeb0.zip | |
* lib/uri/common.rb (URI::REGEXP::PATTERN): typo in REG_NAME
regular expression. a patch from Ueda Satoshi
<s-ueda AT livedoor.jp>. [ruby-dev:32514]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/uri/common.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uri/common.rb b/lib/uri/common.rb index f74f0eb2e..af6aaf26f 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -110,7 +110,7 @@ module URI SERVER = "(?:#{USERINFO}@)?#{HOSTPORT}" # reg_name = 1*( unreserved | escaped | "$" | "," | # ";" | ":" | "@" | "&" | "=" | "+" ) - REG_NAME = "(?:[#{UNRESERVED}$,;+@&=+]|#{ESCAPED})+" + REG_NAME = "(?:[#{UNRESERVED}$,;:@&=+]|#{ESCAPED})+" # authority = server | reg_name AUTHORITY = "(?:#{SERVER}|#{REG_NAME})" |
