geopaparazzi / GSS

2 stars 5 forks source link

//upload not found #8

Closed frafra closed 3 years ago

frafra commented 3 years ago

I set a URL like https://myserver/ in SMASH and I discovered that the trailing slash triggers a POST //upload 404 Not Found.

This issue can be solved by changing SMASH or GSS or both, actually. I decided to report it here as / and // are considered to be equivalent usually.

Section "7.4.7. GSS Settings" of the SMASH documentation shows the URL without the trailing slash, which is correct.

moovida commented 3 years ago

That is odd. It seems to not be handled on the server side. Do you have a possibility to check if the call comes to the server? It might be javalin not accepting it.

frafra commented 3 years ago

I have a monitoring tool on the server which intercepts the various HTTP requests, and I clearly see a POST //upload. I think that is javalin not handling such case.

moovida commented 3 years ago

ok, thanks

moovida commented 3 years ago

fixed in smash.