8000 Escaping (ampersand) in browsable API URLs. · Issue #1649 · encode/django-rest-framework · GitHub
[go: up one dir, main page]

Skip to content
Escaping (ampersand) in browsable API URLs. #1649
Closed
@danielnaab

Description

@danielnaab

When URLs with an escaped character (specifically in my case, and ampersand) is rendered in the browsable API, in the href it is improperly unescaped. This may only apply to ampersands.

For example, this URL:
http://localhost:8000/endpoint/?param1=Yes+%26+No&param2=something

Would be rendered as:
http://localhost:8000/endpoint/?param1=Yes+&+No&param2=something

The URL is rendered in the value of the a element correctly... this only applies to the href.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0