Skip to content

Commit

Permalink
Remove the additional slash.
Browse files Browse the repository at this point in the history
The base should be 'https://nuget.xxxxxxxxxxxxxx.com/' and not 'http://nuget.xxxxxxxxxxxxxx.com//.'
It seems to be the double slash at the end that is breaking the request.

Nuget tries to resolve it to
Resolved actions to install package 'xxxxxxxxxx.5.1.0.47-develop'
`GET http://nuget.xxxxxxxxxxxxxx.com//download/xxxxxxxxxx/5.1.0.47-develop`

When I call that directly I only a response Only DELETEs allowed here. If I remove the double slash it works.

See this issue.
sunsided/docker-nuget#7 for more details.
  • Loading branch information
rolfwessels authored Dec 14, 2017
1 parent 2580f08 commit f9eba73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/feedwriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public function __construct($id) {
$this->baseURL =
url_scheme() .
$_SERVER['SERVER_NAME'] .
dirname($_SERVER['REQUEST_URI']) . '/';
dirname($_SERVER['REQUEST_URI']);
}

public function write(array $results) {
Expand Down

0 comments on commit f9eba73

Please sign in to comment.