Bug #14

Fixed all of text values in the lists to use a new method named _cleanLinks() which applies htmlspecialchars() correctly depending on the user's PHP version.

Added by Omar Ramos 434 days ago.

Status:Closed Start:03/24/2009
Priority:Normal Due date:03/24/2009
Assigned to:Omar Ramos % Done:

100%

Category:URLs Spent time: 1.00 hour
Target version:2.0.1 Estimated time:1.00 hour

Description

Fixed all of text values in the lists to use a new method named _cleanLinks() which applies htmlspecialchars() correctly depending on the user's PHP version.
(Thanks to kaezr for noticing the issue!)

I didn't know that the 3rd or so parameter in htmlspecialchars had only been added in a more recent version of PHP and that this caused some people to have errors shown when that portion of the code was run.

Added a PHP version check and a new special method named _cleanLinks() that encapsulates the version check and the specific calls to htmlspecialchars.

Also available in: Atom PDF