HTML filtering
Posted: 09 Oct 2009, 14:27
For some unknown reason, lots of 404s that were caught by phoca SEF included HTML codes and attributes, and sometimes even javascript code, in their URLs - though all of this html looked like it came from joomla in some way.
The biggest problem was that the HTML got used in the 404 listing (index.php?option=com_phocasef&view=phocasefurls) and that the page wasn't functioning anymore. After manually taking out the unwanted content from my database, phocasef was working again.
I would advise to include a filter for html and javascript in the 404 catching algorithm, so that this can't occur anymore.
An example:
The biggest problem was that the HTML got used in the 404 listing (index.php?option=com_phocasef&view=phocasefurls) and that the page wasn't functioning anymore. After manually taking out the unwanted content from my database, phocasef was working again.
I would advise to include a filter for html and javascript in the 404 catching algorithm, so that this can't occur anymore.
An example:
templates/ja_purity/styleForums</span></a><ul><li class=