[single-host] none existing URLs to workspace should respond with 404 #20148
Labels
area/che-server
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P1
Has a major impact to usage or development of the system.
Describe the bug
[single-host] none existing URLs to workspace should respond with 404.
It's inspired by the issue #19931 (CRW link can be found there as well), so technically, Dashboard remembered the previous run URL and tried to load it, so instead of getting 404, frame was redirected to Che API which redirected to dashboard so we ended with double dashboard.
If some plugin did mistake and used wrong URL, they will get Dashboard as well, instead of 404.
So, I expect gateway in addition to rules for server, add one common for all the workspaces, like /server*, which will just return 404.
Che version
Steps to reproduce
Expected behavior
404 is returned.
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
chectl version
commandEnvironment
Eclipse Che Logs
Additional context
The text was updated successfully, but these errors were encountered: