• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Input IDN/ACE domains conversion on web space creation

Bitpalast

Plesk addicted!
Plesk Guru
When adding a domain to a subscription, the web space default directory stays empty, if the domain contains a special character like umlaut. It would be nice if domains entered could automatically be converted to the ACE string.

Example:
schlüssel.de
should convert to
xn--schlssel-95a.de
so that the web space directory defaults to /xn--schlssel-95a.de

This could save some time when setting up a lot of IDN domains.
 
Can't reproduce it on Onyx 17.0.17:

# ll /var/www/vhosts/
total 56
drwxr-xr-x 7 root root 4096 Dec 20 04:39 chroot
drwxr-xr-x 5 root root 4096 Dec 20 04:33 default
drwxr-xr-x 7 root root 4096 Dec 20 04:43 fs
drwxr-xr-x 2 root root 4096 Dec 20 04:43 fs-passwd
drwx--x--- 4 user_oqmorofezz psaserv 4096 Dec 20 04:43 ppu17-0.demo.pp.plesk.ru
drwxr-xr-x 12 root root 4096 Dec 20 09:29 system
drwx--x--- 5 ib psaserv 4096 Dec 20 09:29 xn--schlssel-95a.de

# ll /var/www/vhosts/xn--schlssel-95a.de/httpdocs/
total 132
drwxr-xr-x 2 ib psacln 4096 Dec 20 09:29 css
-rw-r--r-- 1 ib psacln 113459 Dec 20 09:29 favicon.ico
drwxr-xr-x 2 ib psacln 4096 Dec 20 09:29 img
-rw-r--r-- 1 ib psacln 5526 Dec 20 09:29 index.html
drwxr-xr-x 7 ib psacln 4096 Dec 20 09:29 test
 
Plesk 17.0.17 #11, CentOS Linux 7.3.1611
German OS and browser; panel language English or German (doesn't matter), no other charset issues on the host.

Reproduce:
Log in as admin
"Subscriptions" > Click on a subscription > "Add Domain" button > Enter a domain name with a special character.
For details please see "before" and "after" screenshots.

Works good as long as there is no special character in the domain string, but the moment you hit a special character key, the string in "Document root" gets deleted. It is empty, not hidden. When you click "OK" on the empty field, it throws an error that this field is obligatory. Removing the special character fixes the field. We are seeing the same behavior in 12.5.30 #55 (and before). The only way to create such a domain is to type in a string manually. What I am asking for is a feature where this conversion is done automatically, e.g. that the system recognizes special-char-domains and does the ACE/IDN conversion automatically the moment you type the characters. I understand that you are saying, that this is already the case, at least on your system it is?
 

Attachments

  • before_umlaut.jpg
    before_umlaut.jpg
    58.8 KB · Views: 7
  • after_umlaut.jpg
    after_umlaut.jpg
    57.9 KB · Views: 7
Back
Top