Extra slash after hostname during api request returns 405 error (unless using partialName) #6964
Closed
6 tasks done
Labels
area/core
kind/bug
This issue represents a verified problem we are committed to solving
tag/regression
This issue was addressed and shipped, but subsequently broken in another release
Prerequisites
The bug
When querying the API for specific data, including an extra slash after the server hostname returns a 405 error.
What I expected to happen
The request should be resolved successfully.
Steps to reproduce
Make a request to the API of an Octopus Server for a specific resource:
'https://octopus-server/api/Spaces-1/projects/Project-1'
Add an extra slash after the hostname of the server:
'https://octopus-server//api/Spaces-1/projects/Project-1'
Screen capture
Affected versions
Octopus Server: 2021.1.7595
Issue was not present in 2021.1.7500
Workarounds
If the name of the resource is known, you can use partialName=NAME to have the request succeed however this may cause different issues.
Links
Internal User Issue with investigation: https://octopus.zendesk.com/agent/tickets/72854
The text was updated successfully, but these errors were encountered: