Skip to content

Commit

Permalink
SPEC-835: A percent sign ("%") MUST be URL encoded
Browse files Browse the repository at this point in the history
For a password that doesn't contain `@` or `:` but does contain `%40` there appears to be no way to determine if the password contains an `@` or the following 3 characters in sequence `%40`, unless we specify that `%` must be encoded.
  • Loading branch information
mjgallag authored and jmikola committed Jan 10, 2017
1 parent 41271de commit c552534
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/connection-string/connection-string-spec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ The user information if present, is followed by a commercial at-sign ("@") that

A password may be supplied as part of the user information and is anything after the first colon (":") up until the end of the user information.

If the username section contains either an at-sign ("@") or a colon (":") it MUST be URL encoded.
If the username section contains a percent sign ("%"), an at-sign ("@") or a colon (":") it MUST be URL encoded.

If the user information contains an at-sign ("@") or more than one colon (":") then an exception MUST be thrown informing the user that the username and password must be URL encoded.
If the user information contains a percent sign ("%"), an at-sign ("@") or more than one colon (":") then an exception MUST be thrown informing the user that the username and password must be URL encoded.

----------------
Host Information
Expand Down

0 comments on commit c552534

Please sign in to comment.