[FLOW3-general] Identity route part bug

Bastian Waidelich bastian at typo3.org
Tue Oct 2 14:56:48 CEST 2012


Thomas Plessis wrote:

Hi Thomas,

> Identity route part does not accept accent. For example "midi-pyrénées" becomes "midi-pyrnes" instead of "midi-pyrenees".

The "transliteration" of the URIs is pretty basic at the moment (see 
http://git.typo3.org/FLOW3/Packages/TYPO3.FLOW3.git?a=blob;f=Classes/TYPO3/FLOW3/Mvc/Routing/IdentityRoutePart.php;h=a8fbabd94e0541eafa2ecc3b5d2746976de04754;hb=HEAD#l261 
for the implementation).

To work around this in your case, you could create a RoutePartHandler 
that inherits from the FLOW3 IdentityRoutePart and overrides the 
rewriteForUri() method.
Even better would be an issue & patch on forge (or even a review request 
on gerrit).

In the long run we plan to use the localization package for some proper 
translitaration.


Best,

-- 
Bastian Waidelich
TYPO3 Core Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the FLOW3-general mailing list