Modify

Opened 11 years ago

Last modified 11 years ago

#11019 new defect

[patch] support intertrac link prefixes containing underscores (0.12)

Reported by: jholg Owned by: Jun Omae
Priority: normal Component: TracWysiwygPlugin
Severity: normal Keywords: intertrac
Cc: Trac Release: 0.12

Description

The 0.12 version of the plugin (as of r12974) garbles trac links with intertrac prefixes that contain underscores, due to the regular expression used in the javascript code. Attached patch fixes this by adding underscore as an allowed character for the link prefix.

Attachments (1)

tracwysiwygplugin_link_prefix_underscore_patch.diff (967 bytes) - added by jholg 11 years ago.
Patch to allow underscore in (intertrac) link prefixes

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by jholg

Patch to allow underscore in (intertrac) link prefixes

comment:1 Changed 11 years ago by jholg

Note: In the 0.10/0.11 versions of the plugin the regexp in use is not that restricted and uses \w} which allows underscore anyway.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Jun Omae.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.