Hello!
Congratulations for your useful tips and hack!
Quote:
----
2005/8/15 fixed
from:
- header( "Location: $url" ) ;
to:
- header( "Location: ".preg_replace("/& amp;/i",'&',$url) ) ;
----
2005/11/14 modified (for the security reason)
from:
- header( "Location: ".preg_replace("/& amp;/i",'&',$url) ) ;
to:
- header( "Location: ".strtr(preg_replace("/& amp;/i",'&',$url),"\r\n\0"," ") ) ;
----
2005/11/17 modified (it is not necessary to convert & ) and added 2.2.3final
from:
- header( "Location: ".strtr(preg_replace("/& amp;/i",'&',$url),"\r\n\0"," ") ) ;
to:
- header( "Location: ".strtr($url,array("\r"=>'',"\n"=>'') ) ) ;
You Hva allready change main code with that chenges?