Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

whoops, re-enable IP literals in URIs

  • Loading branch information...
commit 2c0ded256690a4c7faf909d3ee594e6107721c1f 1 parent 9cb4055
Cody Cutrer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mordor/uri.rl
2  mordor/uri.rl
View
@@ -199,7 +199,7 @@ URI::decode(const std::string &str, CharacterClass charClass)
IPvFuture = "v" xdigit+ "." (unreserved | sub_delims | ":")+;
IP_literal = "[" (IPv6address | IPvFuture) "]";
reg_name = (unreserved | pct_encoded | sub_delims)*;
- host = reg_name;#IP_literal | IPv4address | reg_name;
+ host = IP_literal | IPv4address | reg_name;
port = digit*;
authority = ( (userinfo %save_userinfo "@")? host >markh %save_host (":" port >markh %save_port)? ) >markh;
Please sign in to comment.
Something went wrong with that request. Please try again.