404 when query params have periods in them.
See original GitHub issueI’m getting some strange behavior when I hit a URL with a period in a query value.
Example: https://my-fake-site/login?callback=asfasdf.asdf
I get a 404
When I hit just https://my-fake-site/login?callback=asfasdf
it’s golden…
For context, I’m working with a SPA
Originally I ran: ws --spa index.html
Then I thought the URL was being interpreted as a static file due to the period. So I added the --spa.asset-test-fs
flag.
Making the final command ws --spa index.html --spa.asset-test-fs
Which still doesn’t work
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Periods in queryParams with the new matrix URL notation ...
returns a 404 before angular even handles it, because it most likely parses periods first for domain resolution (in the absence of ?...
Read more >Getting a 404 error with parameters which contain periods ...
Try using ajax post method $.ajax({ url: url+ + "/", type: 'POST', data: {data1:encodeURIComponent(text1),data2:encodeURIComponent(text2)}, ...
Read more >Why does a query string return a 404 error? - Drupal Answers
This question was caused by a problem that can no longer be reproduced, was solved by a cache clear, or was a simple...
Read more >bizarre 404 on nginx - Server Fault
The period here does not mean only a period - it means any character. Thus it matches rico of puerto-rico . To match...
Read more >HTTP API Errors - commercetools documentation
If a query constantly times out, please check if it follows the performance best practices. code . String. "QueryTimedOut".
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/lwsjs/spa/issues/3 is now fixed. If you reinstall, the fullstop in your querystring won’t break the default asset-test, meaning you won’t need the
--spa.asset-test-fs
flag.no problem, let me know if you find anything else.