-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blank spaces being accepted #83
Comments
Made a pull request (#85) to revert the URL encoding. |
It looks like this gem doesn't properly validate URL paths in some cases. For example, validating It seems to be a combination of the presence of both the |
It looks like this is behavior of Ruby's It seems that either their is a problem with |
It looks like this is part of the implementation of Generic.parse() (https://github.com/ruby/ruby/blob/trunk/lib/uri/generic.rb#L75)
|
It seems like relying on |
Added another commit in the pull request to handle the spaces in querystring issue. In addition to the usual checks, we now match the raw url value against the URI::regexp pattern for its scheme. |
After #74 got merged, the following happens:
It was merged as a fix for #73. The issue complains that a certain url should be valid, but it contains an unescaped non-ASCII character (
ç
) which, per rfc3986, is invalid.The text was updated successfully, but these errors were encountered: