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

trouble with url being mutated by restfox? #154

Closed
iceisfun opened this issue May 15, 2024 · 1 comment
Closed

trouble with url being mutated by restfox? #154

iceisfun opened this issue May 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@iceisfun
Copy link

When making requests to URLs that include colons in the path segment (e.g., MAC addresses), the path is incorrectly mutated. Specifically, when invoking a URL like https://testing-domain/backend/device/aa:bb:cc:dd:ee:ff/data, the expected path is altered to https://testing-domain/backend/device/aa/data

Testing with simple python3 http module and http:https://localhost:8000/device/aa:bb:cc:dd:ee:ff/data we get POST /device/aa/data HTTP/1.1

I found this while testing an existing api that implemented this in url parameter and assumed it was a bug on the backend service at first.

@flawiddsouza flawiddsouza added the bug Something isn't working label May 16, 2024
@flawiddsouza
Copy link
Owner

Thanks for reporting this. Let me look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants