Hi,
 
I try to support a emoji in a IDN. This is the head of my engine-config:
 

 <Engine name="Catalina" defaultHost="⚙.example.com">      <Realm 
className="org.apache.catalina.realm.LockOutRealm">
        <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
               resourceName="UserDatabase"/>
      </Realm>
      <Host name="⚙.example.com"  appBase="webapps"
            unpackWARs="true" autoDeploy="true">
 
Both, HTTP and HTTPS connector have the UTF8 encoding:
 

  <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000" URIEncoding="UTF-8"
            redirectPort="8443" />
 
    <Connector port="8443" 
protocol="org.apache.coyote.http11.Http11Nio2Protocol" scheme="https" 
secure="true" SSLEnabled="true" URIEncoding="UTF-8">
            <SSLHostConfig truststoreFile="/example/.keystore" 
truststorePassword="example" certificateVerification="optionalNoCA" 
ciphers="TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
 truststoreType="JKS">
            <Certificate certificateFile="/example/cert.pem" 
certificateKeyFile="/example/privkey.pem" 
certificateChainFile="/example/chain.pem" type="RSA"/>
        </SSLHostConfig>
    </Connector>
 
 
Unfortunately the browser-url redirect to the punycode xn--x7h.example.com in 
Chrome, Edge and Firefox (did not test more).
 
How to remain with emoji IDN in the browser URL?
 
Kind regards

Peter Rader
--
Fachinformatiker AE / IT Software Developer
Peter Rader
Wilsnacker Strasse 17
10559 Berlin - GERMANY
Tel: 0049 (0)30 / 6 29 33 29 6
Fax: 0049 (0)30 / 6 29 33 29 6
Handy: 0049 (0)176 / 8 7521576

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to