Modify

Opened 16 months ago

Last modified 16 months ago

#11019 new defect

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

Reported by: jholg Owned by: jun66j5
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 16 months ago.
Patch to allow underscore in (intertrac) link prefixes

Download all attachments as: .zip

Change History (2)

Changed 16 months ago by jholg

Patch to allow underscore in (intertrac) link prefixes

comment:1 Changed 16 months 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.

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.