[TYPO3] RealURL - allow the use of the ~ character?

Tomas Mrozek mail at cascaval.com
Mon Oct 8 16:38:42 CEST 2007


> Are you sure that the only function I need to override is
> encodeTitle?

No, I am not. I didn't check it thoroughly. I had only a quick look and
did a quick test.

> when Typo3 generates a URL for a new page on its own the ~ gets
> encoded and stored into the DB as a %7E

That's probably due to the last line in 
tx_realurl_advanced->encodeTitle: return rawurlencode($processedTitle);

PHP manual:
----------
rawurlencode() - Returns a string in which all non-alphanumeric 
characters except -_. have been replaced with a percent (%) sign 
followed by two hex digits.

Tomas Mrozek


More information about the TYPO3-english mailing list