Skip to content
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

Response preview adds whitespace to URL #7240

Open
1 task done
Tolsto opened this issue Apr 5, 2024 · 2 comments
Open
1 task done

Response preview adds whitespace to URL #7240

Tolsto opened this issue Apr 5, 2024 · 2 comments
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer

Comments

@Tolsto
Copy link

Tolsto commented Apr 5, 2024

Expected Behavior

The preview should not add a whitespace in the middle of the URL.

Actual Behavior

image image

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

No response

Insomnia Version

9.0.0-beta.3

What operating system are you using?

macOS

Operating System Version

14.4.1 (23E224)

Installation method

dmg

Last Known Working Insomnia version

No response

@Tolsto Tolsto added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Apr 5, 2024
@git-commit-amen
Copy link
Contributor

Able to reproduce this bug. Specifically, seems to happen when both of the following conditions are met:

  • Response contains a JSON key value enclosed in single quotes rather than double quotes
  • Value that is enclosed in the aforementioned single quotes contains a colon

Not sure why this happens.

Worth noting, single quotes for JSON keys and values is technically invalid syntax (although some popular JSON formatters are lenient on this). This is still a valid bug though of course.

@Tolsto
Copy link
Author

Tolsto commented Apr 8, 2024

Hm, didn't even notice the single quotes. That's actually the default serialization of AWS Lambda, at least when running locally with SAM CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer
Projects
None yet
Development

No branches or pull requests

2 participants