nymea/libnymea-core/servers
Michael Zanetti 192bdac209 Fix webserver tests
canonicalFilePath() behavior seems to have changed at some point
and not existing files outside the public dir will return a 404
rather than a 403. Ideally the logic would be fixed to first
check for the file being outside the public directory, directly
returning a 403, then checking if the file exists, return a 404
if not, and lastly check for permissions on the file and return
a 403 again of denied. However, that would result in a bigger
change.

Also, the tests were failing all along if syslog exists but is
not readable (code is ok, just bad test) but none of our
autotesters seemed to have such a setup till now.
2022-04-23 00:23:21 +02:00
..
bluetoothserver.cpp Update copyright 2020-01-23 20:07:26 +01:00
bluetoothserver.h Update copyright 2020-01-23 20:07:26 +01:00
httpreply.cpp Update copyright 2020-01-23 20:07:26 +01:00
httpreply.h Update copyright 2020-01-23 20:07:26 +01:00
httprequest.cpp Suppress recurring warning about missing user agents in http requests 2020-10-19 18:47:01 +02:00
httprequest.h Update copyright 2020-01-23 20:07:26 +01:00
mocktcpserver.cpp Update copyright 2020-01-23 20:07:26 +01:00
mocktcpserver.h Update copyright 2020-01-23 20:07:26 +01:00
mqttbroker.cpp Add configuration for the tunnel proxy server 2022-02-08 11:00:09 +01:00
mqttbroker.h Fix some includes to be more flexible on finding headers 2021-05-11 22:41:42 +02:00
tcpserver.cpp Merge PR #487: Fix a crash when removing a currently connected transport 2022-03-27 19:49:23 +02:00
tcpserver.h Fix warning and pointer initialization 2020-12-30 00:15:08 +01:00
tunnelproxyserver.cpp Fix tunnel proxy configuration and make it independent from the cloud configuration 2022-03-01 13:51:27 +01:00
tunnelproxyserver.h Fix tunnel proxy configuration and make it independent from the cloud configuration 2022-03-01 13:51:27 +01:00
webserver.cpp Fix webserver tests 2022-04-23 00:23:21 +02:00
webserver.h Fix the webserver for serving static files 2020-09-23 00:49:37 +02:00
websocketserver.cpp Merge PR #487: Fix a crash when removing a currently connected transport 2022-03-27 19:49:23 +02:00
websocketserver.h Fix the webserver for serving static files 2020-09-23 00:49:37 +02:00