Login | Register
My pages Projects Community openCollabNet

Discussions > users > Repo browser doesn't show redirected URL in address bar when accessing to ParentPath

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

Back to topic list

Repo browser doesn't show redirected URL in address bar when accessing to ParentPath

Author quliang
Full name Quan Liang
Date 2016-04-18 00:09:29 PDT
Message Using URL rewrite to direct http:// to https://, in some cases the Repo browser does not show the redirected URL.

Apache rewrite setting:

Listen 80
<VirtualHost *:80>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/(.*)$ https://example.com/$1 [R=301,L]
</VirtualHost>

Subversion DAV location is running on port 443 over SSL with "SVNListParentPath On"

Accessing the following URLs via Web browser(Safari, IE), TSVN repo browser.

1) Parent Path: http://example.com/svn
Both can get the repository list
Web browser displays https://example.com/svn in the address bar
TortoiseSVN repo browser displays http://example.com/svn in the address bar.
Click on a repo in the list it can show the content but the address bar still show the original URL such as http://example.com/svn/repo01

2) Existing repo: http://example.com/s​vn/repo_exist
Both display the re-written URL https://example.com/​svn/repo_exist in the address bar.

3) Non-existing repo: http://example.com/s​vn/repo_non_exist
Both report error as the repo does not exist.
Web browser displays https://example.com/​svn/repo_non_exist in the address bar
TortoiseSVN repo browser displays http://example.com/s​vn/repo_non_exist in the address bar

Testing on TortoiseSVN 1.9.3.

I consider this as a trivial bug. The expected behavior is the address bar should how the redirected URL instead of the original one.

Any comment is appreciated.

Thanks.

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

Repo browser doesn't show redirected URL in address bar when accessing to ParentPath quliang Quan Liang 2016-04-18 00:09:29 PDT
Messages per page: