[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: Quan Liang <quan.liang_at_wandisco.com>
Date: Mon, 18 Apr 2016 00:09:29 -0700 (PDT)

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]

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/svn/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/svn/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/svn/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.



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-04-18 18:10:49 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.