Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#2989 closed defect (worksforme)

html preprocessor messes up with these links

Reported by: joram Owned by: Jonas Borgström
Priority: normal Milestone:
Component: wiki system Version: 0.9.3
Severity: normal Keywords: tortoisesvn tsvn
Cc: joramagten@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

{{
#!html
<a href="file://\\tbe1fp1\R&D_ACCESS\DEVELOPMENT\R&D - Doc\Automatic Test Framework\TelindusTestFramework">ActiveTcl installation</a>
}}

becomes

<a href="file://\\tbe1fp1\R&amp;D_ACCESS\DEVELOPMENT\R&amp;D - Doc\Automatic Test Framework\TelindusTestFramework">ActiveTcl installation</a>

and

{{
#!html
<a href="tsvn:http://10.0.24.72/svn/repos/ttf">tsvn checkout</a>
}}

becomes

<a>tsvn checkout</a>

Attachments (0)

Change History (5)

comment:1 by joram, 19 years ago

Cc: joramagten@… added

comment:2 by Christopher Lenz, 19 years ago

The conversion of the first link is valid… & needs to be converted to &amp; anywhere to be valid (X)HTML.

The conversion of the second link, well… we only a allow a subset of known/legal protocols. “tsvn” is not known, and thus the entire attribute is stripped out (the rationale behind this is to disallow potentially dangerous references, such as javascript: links or images).

What does the “tsvn” protocol do, anyway? Can't you just use “http”?

comment:3 by joram, 19 years ago

the tsvn protocol is to drive TortoiseSvn (the windows explorer svn integration) TortoiseSvn installs a handler for the tsvn protocol

comment:4 by Christian Boos, 19 years ago

Resolution: worksforme
Status: newclosed

InterWiki prefixes is what your looking for handling the tsvn stuff.

You could even factor out the http part with that, e.g. with the following entry in your InterMapTxt:

tsvn-ttf tsvn:http://10.0.24.72/svn/repos/ttf/  # Tortoise link to the TTF repos

You can then use it like that: tsvn-ttf:trunk or like that: [tsvn-ttf:trunk latest ttf].

This works well with 0.10 … and thanks for the idea :)

comment:5 by Christian Boos, 18 years ago

Keywords: tortoisesvn tsvn added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.