Hi Craig,

Here is another candidate patch. This time for #1667628 LinkToSearchFor with
Namespace. Code adds a check for a null Namespace in the LinkMaker function
and outputs correct html for the search terms whether there are one or two
terms included. Also encoded the Namespace when it is used to prevent
injection attacks and made the second term prefix, which was '?', into
'&'

You can test the condition using the Find references border function first
without a namespace and then by substituting a valid namespace name for the
'null' in the LinkToSearchFor arguments.

John Davidson

Attachment: 1667628_LinkToSearchFor.patch
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to