Closed sauravshah closed 9 years ago
IIUC,
In DefaultUriParser.scala
def _userInfo: Rule1[UserInfo] = rule { capture(oneOrMore(!anyOf(":@") ~ ANY)) ~ optional(":" ~ capture(oneOrMore(!anyOf("@") ~ ANY))) ~ "@" ~> extractUserInfo }
The userInfo rule fires and as a result the uri parsing fails.
@theon Please review PR https://github.com/NET-A-PORTER/scala-uri/pull/87
@philwill-nap Would you be able to review the PR?
Thanks!
PR has been merged. Thanks @theon
Seems like @ is causing issues. URISyntaxException: : Invalid URI could not be parsed. 1 rule mismatched at error location: uri / | / _abs_uri / optional / _authority / _host_name / oneOrMore / ANY