sfx101 / deck

DECK is a powerful and high performant local web development studio, an open source alternative to Docker desktop
https://github.com/deck-app
GNU Affero General Public License v3.0
1.51k stars 71 forks source link

Proxy server converting slashes in query parameters #24

Closed baileyherbert closed 2 years ago

baileyherbert commented 3 years ago

Hi! 👋

I just started messing around with this on a new Windows 11 setup and quickly ran into an issue with the proxy server. When using stacks.run any forward slashes (/) in query parameters somehow get converted to backslashes (\\). As a result, phpMyAdmin is throwing 404s all over the place. When I connect directly to the container port this doesn't happen.

stacks.run –

"POST /index.php?route=\\config\\get HTTP/1.1" 404
"POST /index.php?route=\\navigation&ajax_request=1 HTTP/1.1" 404
"POST /index.php?route=\\config\\get HTTP/1.1" 404

localhost –

"POST /index.php?route=/config/get HTTP/1.1" 200
"POST /index.php?route=/navigation&ajax_request=1 HTTP/1.1" 200
"POST /index.php?route=/config/get HTTP/1.1" 200

Perhaps a configuration issue on my part or just a case of accidentally using path.sep in the wrong place?

sfx101 commented 3 years ago

Hi @baileyherbert thank you for trying out & reporting the bug. Let us try to replicate the issue and get back to you

nabad600 commented 2 years ago

Hi @baileyherbert thank you for trying out & reporting the bug, Issue is resolved

image

Let us know of any issues, we'd be happy to help.