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

Re: Exception for certain bad URLs passed to Repository Browser

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 11 Aug 2011 18:30:58 +0200

On 10.08.2011 22:28, Ryan J Ollos wrote:
> This might fall under the category of plain incorrect usage, but since an
> exception results I thought I'd report it.
> When using the Repository Browser outside of a working copy:
> (A) If I enter a bad URL, such as `http://trac-hack.org/svn`, after a little
> while the Repository Browser displays "Unable to connect ...", which is what
> I expect.
> (B) If I omit the protocol `http://` from the URL and enter
> `trac-hacks.org/svn`, I get an exception [1]. After dismissing the exception
> dialog, an error is shown in the Repository Browser as I would expect [2].
> From what I've seen so far, as long as the URL contains 2 characters plus a
> colon, the behavior seems to be okay and you get a message in the Repository
> Browser rather than an exception. For example, try `http:trac-hacks.org/svn`
> or `ff:ABC` [3].
> The exception in (B) seems undesirable and more desirable would be to have
> behavior like in (A). Many users might think they can omit the http:// from
> their URL, as most browsers allow.

Fixed in r21812.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-08-11 18:31:25 CEST

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