# Typo in lib/uri/common.rb

**URL:** <https://www.ruby-forum.com/t/typo-in-lib-uri-common-rb/122632>\
**Category:** Development\
**Created:** [December 10, 2007, 10:12am UTC](https://www.ruby-forum.com/t/typo-in-lib-uri-common-rb/122632 "2007-12-10T10:12:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ueda\_Satoshi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/a8b319/32.png) [@Ueda\_Satoshi](https://www.ruby-forum.com/u/Ueda_Satoshi)\
**Post date:** [December 10, 2007, 10:12am UTC](https://www.ruby-forum.com/t/typo-in-lib-uri-common-rb/122632/1 "2007-12-10T10:12:36Z")

</div>

URIe$B$N@55,I=8=MQJ8;zNs$Ke(Btypoe$B$,$"$j$^$9!#e(B

# Index: lib/uri/common.rb

— lib/uri/common.rb (revision 14176)  
+++ lib/uri/common.rb (working copy)  
@@ -110,7 +110,7 @@  
SERVER = “(?:#{USERINFO}@)?#{HOSTPORT}”  
# reg\_name = 1\*( unreserved | escaped | “$” | “,” |  
# “;” | “:” | “@” | “&” | “=” | “+” )

- 

```
 REG_NAME = "(?:[#{UNRESERVED}$,;+@&=+]|#{ESCAPED})+"

```

- 

```
 REG_NAME = "(?:[#{UNRESERVED}$,;:@&=+]|#{ESCAPED})+"
 # authority = server | reg_name
 AUTHORITY = "(?:#{SERVER}|#{REG_NAME})"
```

---

<div class="post-metadata">

**Author:** ![Ueda\_Satoshi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/a8b319/32.png) [@Ueda\_Satoshi](https://www.ruby-forum.com/u/Ueda_Satoshi)\
**Post date:** [December 10, 2007, 10:33am UTC](https://www.ruby-forum.com/t/typo-in-lib-uri-common-rb/122632/2 "2007-12-10T10:33:40Z")

</div>

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:32514] typo in lib/uri/common.rb”  
on Mon, 10 Dec 2007 18:06:43 +0900, Ueda Satoshi  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) writes:

|URIe$B$N@55,I=8=MQJ8;zNs$Ke(Btypoe$B$,$"$j$^$9!#e(B

1.9, 1.8e$B$H$b$K\<h$j9~$\_$^$7$?!#e(B
