phpBB3 importer's link conversion breaks links with additional parameters

(Wladimir Palant) #1

A post on my phpBB forum had the following link (no additional markup):


This link has been converted by the importer into the following markup:


And the link target is broken. Looking at the regular expressions used for conversion, long_internal_link_regexp will only apply to complete links whereas short_internal_link_regexp doesn’t - it will happily convert the start of the link while leaving the rest of it (here &hilit=foo#p4321) unchanged.

(Gerhard Schlager) #2

This has been fixed:

(Régis Hanol) closed #3