Closed (fixed)
Project:
Freelinking
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 Dec 2005 at 23:02 UTC
Updated:
14 Jan 2006 at 19:40 UTC
The / character as a the first character of a new freelinking term cannot be processed by freelinking. An example of such a term is "/etc". Instead of the term not being processed as a possible freelinking link, the section of the content (in my case node->body) is not displayed at all.
I understand that to allow '/' as the first character produces a security risk, or a 404 page not found error if clean urls are used, but there should be a better way to handle such characters.
Possible solutions include rewriting the code to change these symbols to HTML character sequences such as / becomes / (better), or just not process such terms as possible new freelinking pages.
Comments
Comment #1
eafarris commentedCommitted a fix to DRUPAL-4.6, utilizing a well-placed
preg_quote(). Please verify and close. For some reason, this doesn't seem to affect HEAD, just 4.6.Comment #2
(not verified) commented