Skip to content

Escaping issues #1

@rypalmer

Description

@rypalmer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions