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

[bug] TSVN 1.5RC2 Pasting an URL into commit dialog corrupts preceding message text

From: Konstantin Kolinko <knst.kolinko_at_gmail.com>
Date: Sat, 7 Jun 2008 18:08:37 +0400

In TortoiseSVN 1.5.0-RC2 (32-bit)
when pasting an URL into the message field of Commit dialog, the text
preceding the URL may become corrupted.

To reproduce the issue the following seems to be essential:
1. The text preceding the URL must end with a colon (":") followed by
a whitespace character (e.g.: space or end of line).
2. The text preceding the URL must use i18l characters (e.g.: Cyrrilic ones),

I was not able to reproduce the behavior with English characters only.

Steps to reproduce:
1. Open SVN Commit dialog
2. Paste the following 4 lines of cyrillic text into the message field:
Тест: _
Тест2: _

Result of this step:

3. Replace the '_' symbols in the message with the following URL
(using copy & paste):

Result of this step:

4. Observed behavior:
4.1. The Cyrillic text in lines 2 and 3 is corrupted
4.2. The blue highlight area of the URL in lines 1, 2 is
mispositioned. The ".com" part of the url is not highlighted.

It looks like the algorithm that calculates the highlight area of the
url is the culprit.

Best regards,
Konstantin Kolinko
Received on 2008-06-07 16:08:48 CEST

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.