generated from kedacore/github-template
-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Report
The request path api/Spaces-1/projects/Projects-45/refs%2fheads%2fdevelop/deploymentprocesses
fails with 404 with keda http add-on in between. I believe this is because the escaped characters are unescaped in the forwarded request.
I get the same behaviour when i enable path rewriting in ingress.
Expected Behavior
Path not altered. Don't get a 404.
Actual Behavior
Path is altered, resulting in a 404.
Steps to Reproduce the Problem
- Make a request with an escaped forward slash
%2f
and observe it forwarded as/
Logs from KEDA HTTP operator
{"level":"info","ts":1703256074.7780826,"logger":"LoggingMiddleware","caller":"middleware/logging.go:73","msg":"10.50.10.146:39356 - - [22/Dec/2023:14:41:14 +0000] \"GET /api/Spaces-1/projects/Projects-45/refs/heads/develop/deploymentprocesses HTTP/1.1\" 404 69 \"\" \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36\""}
HTTP Add-on Version
0.6.0
Kubernetes Version
1.28
Platform
Microsoft Azure
Anything else?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done