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

Re: Bug report: "Copy URL to clipboard" includes CR/LF

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 8 Feb 2016 21:30:30 +0100

On 02.02.2016 08:28, Markus wrote:
> Hello,
> we noticed the following flaw:
>
> When you run the command "Copy URL to clipboard" from the TortoiseSVN context menu on a local sandbox, it will not just copy the URL but include a CR/LF at the end.
>
> This is not a big issue as the Checkout dialog would strip off these characters. Unfortunately, when adding this URL to the project monitor (using "Add Project"), it will accept it but will fail to connect to that repo:
>
> Unable to connect to a repository at URL
> 'https://some.hostname.de/svn/Public%0A'
> Access to '/svn/Public%0A' forbidden
>
> So I think there are 2 bugs actually:
> 1) The "copy URL to clipboard" should not include CR/LF

That's not a bug but by design. This was requested repeatedly (that the
copied urls have a newline at the end).

> 2) The project monitor should strip off invalid characters from the URL

Fixed in r27167.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3159338
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-02-08 21:29:24 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.