Skip to content
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

incomplete handling of the reserved characters in the URLs #9

Open
julochrobak opened this issue Aug 31, 2012 · 0 comments
Open

incomplete handling of the reserved characters in the URLs #9

julochrobak opened this issue Aug 31, 2012 · 0 comments
Labels

Comments

@julochrobak
Copy link
Member

The specification of the URL defines a set of reserved characters. Each of the character has a special meaning and should be treated with a special care:

Character    Purpose in URL                                 Encoding
:            Separate protocol (http) from address          %3B
/            Separate domain and directories                %2F
#            Separate anchors                               %23
?            Separate query string                          %3F
&            Separate query elements                        %24
@            Separate username and password from domain     %40
%            Indicates an encoded character                 %25
+            Indicates a space                              %2B
<space>      Not recommended in URLs                        %20 or +

Bandicoot treats only the % symbol as a special case when parsing the query section of the URL. The most obvious problem is related to the + symbol. It does not translate the + into a space character.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant