You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"HTTP Status 400 – Bad Request".
It can be seen in debug log that request has been made to URL /guestAuth/app/rest/builds/id%3A3101739/artifacts/children%2FClock.Console%2Flinux-x64 which is obviously wrong: / should not be escaped in artifacts paths. Relevant part from swagger.json:
After setting teamcity.configuration.safe_chars_for_path_param = "/" (default value was empty string) URL in request becomes correct /guestAuth/app/rest/builds/id%3A3101739/artifacts/children/Clock.Console/linux-x64 (method call still requires workaround from #25 to work completely).
Suggestion would be to set Configuration.safe_chars_for_path_param to / by default, though it's not clear what other parts this can break.
The text was updated successfully, but these errors were encountered:
Reproducible example (using https://teamcity.jetbrains.com/viewType.html?buildTypeId=DemoProjects_TeamCity_Net_Build for build having artifacts):
Result:
"HTTP Status 400 – Bad Request".
It can be seen in debug log that request has been made to URL
/guestAuth/app/rest/builds/id%3A3101739/artifacts/children%2FClock.Console%2Flinux-x64
which is obviously wrong:/
should not be escaped in artifacts paths. Relevant part from swagger.json:After setting
teamcity.configuration.safe_chars_for_path_param = "/"
(default value was empty string) URL in request becomes correct/guestAuth/app/rest/builds/id%3A3101739/artifacts/children/Clock.Console/linux-x64
(method call still requires workaround from #25 to work completely).Suggestion would be to set
Configuration.safe_chars_for_path_param
to/
by default, though it's not clear what other parts this can break.The text was updated successfully, but these errors were encountered: