Skip to content

Wrong Test Case output in Objective-C #438

Description

@ShauryaAg

Describe the bug
Objective-C unit test case Resolve URL (Quotes + Special Characters) Copy has output wherein it parse %26 as %2526. %26 is clearly a URL encoded & symbol, and hence it should be left as it is.

To Reproduce
Steps to reproduce the behavior:
Run npm test objective-c

Expected code snippet and corresponding request
%26 is a URL encoded & symbol, and hence it should be left as it is.

Screenshots
image

Additional context
%26 and %2526 are two different URLs. %25 should only be used if the URL contains a % sign, not when its parsing an already URL encoded string.

Version of postman-code-generators/Postman app:
Issue present in the commit: 31dc9f64295ec47b56c2912901eb39e5bdf067db

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions