[[[
$ curl --head https://archive.apache.org/dist
HTTP/1.1 301 Moved Permanently
Location: https://archive.apache.org/dist/
...

$ svn ls https://archive.apache.org/dist
Redirecting to URL 'https://archive.apache.org/dist':
Redirecting to URL 'https://archive.apache.org/dist':
svn: E195019: Redirect cycle detected for URL 'https://archive.apache.org/dist'
]]]

Subversion "canonicalized" the redirect URL in its own way, and in doing so removed the trailing slash, and then tried again and got the same response.

I feel we should not really blame the server configuration. If the server was intended for use by svn clients only, we could say it should be changed to match what the Subversion client software expects, but that server is aimed just as much at web browser users, not that this trailing slash is important for them either. Anyhow, this kind of redirect seems perfectly reasonable and it seems wrong that Subversion does not work with it.

I suppose Subversion should not canonicalize a URL received in a redirect, but should use it as given.

Does that make sense?

- Julian

Reply via email to