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

Escape Endpoint #73

Closed
caffeineflo opened this issue Oct 27, 2018 · 1 comment
Closed

Escape Endpoint #73

caffeineflo opened this issue Oct 27, 2018 · 1 comment
Assignees

Comments

@caffeineflo
Copy link

Describe the bug
Let's say I name my endpoint "Bus Stop 123", any client querying that endpoint would query the escaped form "Bus%20Stop%20123". Yet, when I define an endpoint as "Bus Stop 123" and query the escaped form, mockoon says "CANNOT GET Bus%20Stop%20123"

To Reproduce
Add an endpoint that would need percent encoding/URL encoding but don't add encoding yourself and query that endpoint form a client

Expected behavior
Mockoon should automatically encode the endpoint

Screenshots
not applicable

Mockoon version:
1.2.0

OS / OS version:
macOS 10.14

@255kb
Copy link
Member

255kb commented Nov 7, 2018

As this is not supported by ExpressJS expressjs/express#2511 I will do it manually at route declaration time if possible (should be possible)

@255kb 255kb self-assigned this Nov 7, 2018
@255kb 255kb added this to the Next release milestone Nov 7, 2018
@255kb 255kb closed this as completed in a16beea Dec 16, 2018
@255kb 255kb removed this from the Next release milestone Dec 31, 2018
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