-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Did some testing with an project that has an space in the name.
I'm not sure at the moment whether dtrack or the loadbalancer is throwing me the error, i just renamed the project.
but we should probably escape space in the get requests where the project name is sent in the url.
could be that this problem is not only in the analyze task...
Execution failed for task ':analyzeProject'.
> Client request(GET https://localhost/api/v1/project/lookup?name=Foobar Abc Sidecar&version=3.0.222) invalid: 400 Bad Request. Text: "<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 400 Illegal character SPACE=' '</title>
</head>
<body>
<h2>HTTP ERROR 400 Illegal character SPACE=' '</h2>
<table>
<tr><th>URI:</th><td>/badMessage</td></tr>
<tr><th>STATUS:</th><td>400</td></tr>
<tr><th>MESSAGE:</th><td>Illegal character SPACE=' '</td></tr>
</table>
</body>
</html>
"
Metadata
Metadata
Assignees
Labels
No labels