[eluser]gRoberts[/eluser]
Unfortunately it doesn't work
Here is a test I used to try each method:
Code:
htmlspecialchars: <a href="http://test.domain.com/tags/search/A dodgy tag¬!"£$%^&*()_+=-<>?/.">A dodgy tag¬!"£$%^&*()_+=-<>?/.</a>
htmlentities: <a href="http://test.domain.com/tags/search/A dodgy tag¬!"£$%^&*()_+=-<>?/.">A dodgy tag¬!"£$%^&*()_+=-<>?/.</a>
urlencode: <a href="http://test.domain.com/tags/search/A+dodgy+tag�!">?/.">A dodgy tag¬!"£$%^&*()_+=-<>?/.</a>
Urlencode seems the best method but CI won't accept it as a parameter (error 400)
I appreciate your help!
Thanks
Edit: The forum has removed some of the urlencoded chars....