[Typo3-dev] Domain redirecting on a Typo3 Page
Martin T. Kutschker
Martin.no5pam.Kutschker at blackbox.n0spam.net
Tue Jan 18 13:21:07 CET 2005
Kasper Skårhøj wrote:
>>I see thre solutions.
>>
>>* Don't do any check against the domain name
>>* Allow for the 100 or so new chars (mind the charset of the BE!)
>>* Transform a domain name into an ACE label (punycode) on storage
>
> Lets say that the punycode is entered into the domain name field as the
> ASCII equivalent - isn't that enough? If so, then someone could write...
> dada - a WIZARD for this purpose so that you can enter the
> Human-readable version into a field that automatically translates it to
> puny-equivalent.
A wizard or an auto-conversion (option 3 in my list) is probably
sufficient for domain locking/checking.
> Apart from that I only see that problems can arise if TYPO3 at any point
> fetches the value of either:
> a) the domain-record (obviously you will see the puny-code)
Well, this is done for multi-(sub-)domain hosts. I'd rather not have
links created with weird looking punycode-URLs. But puncyode can be
reversed, so you have the original UTF-8 (or UCS-4) domain name.
Looking at the necessary transformations I'd add a configuration option
"enableIDNA" that enables the necessary transformation on storage (in
the BE) and on link creation (in the FE).
Masi
More information about the TYPO3-dev
mailing list