-
Notifications
You must be signed in to change notification settings - Fork 289
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
Modified escaping of query string parameters #1316
Conversation
Modified unit failing unit test Added new unit test
sever returns 404
Thanks! This looks like exactly the fix we need. @cartermp @ovatsus @tpetricek @colinbull If you get a moment could you review? |
EscapeDataString has problems with large payloads, that's why we changed it, see #1112 |
Ah, nevermind, that was for the body, which you are not changing |
@@ -33,7 +33,6 @@ Xml,TypeInference.xml,false,false,,false, | |||
Xml,SampleAzureServiceManagement.xml,false,false,,true, | |||
Xml,TimeSpans.xml,false,false,,true, | |||
Xml,,false,false,,false,po.xsd | |||
Xml,,false,false,,false,http://europa.eu/rapid/conf/RSS20.xsd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this removed by accident?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed it as RSS20.xsd
does not exist at url anymore and was causing unit tests to fail.
I could not find an updated url.
Appologies I should have updated the PR comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That URL is now retuning a failure, I think it can be removed
fixes #1263
Escape query strings using
Uri.EscapeDataString
instead ofUri.EscapeUriString
, this should correctly escape all URI reserve characters so they can be used as literals in query strings.