[TYPO3-english] RealURL

Dmitry Dulepov dmitry.dulepov at gmail.com
Wed Oct 26 09:31:46 CEST 2011


Hi!

Sergey Alexandrov wrote:
> Was working on RealURL hooks for YAG and found it work fine unless
> 'fileName' and defaultToHTMLsuffixOnPrev=1 defined in the _DEFAULT array.
>
> For example, if I set defaultToHTMLsuffixOnPrev = 0, YAG's hook
> generates good (with some help) enough paths like:
>
> http://domain.tld/welcome/gallery/47/galleryAlbums/animals
>
> But when I set defaultToHTMLsuffixOnPrev = 1, generated URL become
> wrong, like:
>
> http://domain.tld/welcome.html/gallery/47/galleryAlbums/animals
>
> In this case YAG's encode hook receive $params['URL'] =
> welcome.html?tx_yag_pi1%5Baction%5D=list&tx_yag_pi1%5Bcontroller%5D=Gallery&cHash=1d031b88b4691deeaf00cbbec1b6c197
>
> and encodes the query string (starting after '?') pretty well, but the
> 'final' URL contains welcome.html which is not correct.

Why isn't it correct?

I have no idea what YAG is, what your RealURL configuration is and what 
hook you try to implement and what you do in that hook :(

-- 
Dmitry "itoldyou" Dulepov
TYPO3 core&security team member
E-mail: dmitry.dulepov at typo3.org
Web: http://dmitry-dulepov.com/



More information about the TYPO3-english mailing list