How to pass special characters in the URL ?
Example : http://mytest.cfm?var=règle (character è)
This gives an error :
Un caractère invalide a été trouvé dans la cible de la requête
from Apache Tomcat/9.0.24
Is there something to set in the Tomcat conf to allow spec char in URLs ?
in server.xml
Thanks for help
Pierre.
Don’t forget to tell us about your stack!
Linux debian 10
apache 2.4
Lucee 5.3.7.47
Tomcat 9
I avoid passing spec chars in URLs.
But, sometimes this exist in applications, I wrote or written by someone else.
Under WindowsXP/Coldfusion 8, there is no error. (old application).
I still have this on a local server. (it works fine)
There should be a way to make it work, without Forms or CF functions in that new environment.
With this new environment, It seems it depends on browser used ?
Old browser gives error,
New browser , no error. (spec char pass in URL, without doing anything)
Old versions of ACF before 10 ran JRUN, which to say is insecure and different is a an understatement.
As for forms, You still define a form in html using what ever framework you want. You wrap what ever application logic around it and post it to do something.
form method = post action = some_cf_page.cfm or php, or whatever.