aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--lib/uri/common.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b96fac8399..9639d057c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,4 @@
-Sat Mar 22 01:59:04 2003 Tanaka Akira <akr@m17n.org>
+Sat Mar 22 12:44:15 2003 Tanaka Akira <akr@m17n.org>
* lib/date/format.rb, lib/uri/common.rb: `[', `]', `-' in chracter
class in regexp to avoid warning.
diff --git a/lib/uri/common.rb b/lib/uri/common.rb
index 561b9ecb5b..e9b7ce9b0a 100644
--- a/lib/uri/common.rb
+++ b/lib/uri/common.rb
@@ -31,7 +31,7 @@ module URI
# mark = "-" | "_" | "." | "!" | "~" | "*" | "'" |
# "(" | ")"
# unreserved = alphanum | mark
- UNRESERVED = "-_.!~*'()#{ALNUM}"
+ UNRESERVED = "\\-_.!~*'()#{ALNUM}"
# reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" |
# "$" | ","
# reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" |