Skip to content

Escaping issues #1

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

Open
rypalmer opened this issue May 7, 2013 · 2 comments
Open

Escaping issues #1

rypalmer opened this issue May 7, 2013 · 2 comments

Comments

@rypalmer
Copy link

rypalmer commented May 7, 2013

Thanks for contributing this. The one issue I ran into was the escaping of tildes -- apparently they shouldn't be escaped. I got around this by the following:

cloudfront.sign(resource, 3600).replace('%7E', '~')

This may or may not be related: joestump/python-oauth2#15

Also: when outputting the resulting context variable in a template, I had to use |safe to prevent the escaping of ampersands.

@tzangms
Copy link
Contributor

tzangms commented May 13, 2013

@rypalmer Could you provide me the example url which you encountered the problem?

@rypalmer
Copy link
Author

Any URL query parameter containing a tilde I guess. Not all would end up
having one. I can't seem to generate with one at the moment.. sorry.

Ryan

On Mon, May 13, 2013 at 6:34 AM, tzangms [email protected] wrote:

@rypalmer https://github.com/rypalmer Could you provide me the example
url which you encountered the problem?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-17801588
.

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

No branches or pull requests

2 participants