PHP Classes

broken hrefs SOLVED

Recommend this page to a friend!

      PHP Input Filter  >  All threads  >  broken hrefs SOLVED  >  (Un) Subscribe thread alerts  
Subject:broken hrefs SOLVED
Summary:attributes containing equal signs breaks
Messages:2
Author:Anton Hemnell
Date:2008-05-22 08:35:26
Update:2008-09-10 03:23:36
 

  1. broken hrefs SOLVED   Reply   Report abuse  
Picture of Anton Hemnell Anton Hemnell - 2008-05-22 08:35:27
The separation of attribute and value is done by exploding with '=' as separator.

Solution is to only explode at first equal sign (works as of php 4.0.1).

Original (around line 202):
$attrSubSet = explode('=', trim($attrSet[$i]));

Change to:
$attrSubSet = explode('=', trim($attrSet[$i]), 2);

  2. Re: broken hrefs SOLVED   Reply   Report abuse  
Picture of Brad Brad - 2008-09-10 03:23:36 - In reply to message 1 from Anton Hemnell
Thank You!