[FLOW3-general] Pagination widget with security token
Andreas Förthner
andreas.foerthner at netlogix.de
Fri Jan 13 12:15:09 CET 2012
Hi Thomas,
This is true and a known bug. See http://forge.typo3.org/issues/27798 for
details.
Sorry for the short answer, don't have much time atm ;-)
Greets Andi
Am 13.01.12 11:50 schrieb "Thomas Plessis" unter
<t.plessis at totemnumerique.com>:
>Hi guys,
>
>It seems that pagination widget does not work properly when you use it on
>a securated page (with security token). It seems that the "__csrfToken"
>is not passed to the next page link. Here is my Routes.yaml :
>
>-
> name: 'Items Pagination - First page'
> uriPattern: 'admin/annonces/{__csrfToken}'
> defaults:
> '@controller': 'Item'
> '@action': 'indexAdmin'
> '@widget_0':
> '@controller': ''
> '@package': ''
>-
> name: 'Items menuAnnonces'
> uriPattern:
>'admin/annonces/{__csrfToken}/page/{@widget_0.currentPage}'
> defaults:
> '@controller': 'Item'
> '@action': 'indexAdmin'
> '@widget_0':
> '@controller': ''
> '@package': ''
>
>It works for the first rule, not for the second one. When i change the
>second as that, it works :
>
>-
> name: 'Items menuAnnonces'
> uriPattern: 'admin/annonces/page/{@widget_0.currentPage}'
> defaults:
> '@controller': 'Item'
> '@action': 'indexAdmin'
> '@widget_0':
> '@controller': ''
> '@package': ''
>
>But I've a FLOW3 error saying that i'm not able to view this page for
>security reasonsŠ :/
>
>regards,
>
>Thomas Plessis
>Développeur multimédia
>--
>TOTEMnumerique
>9, Place St Étienne
>31000 Toulouse
>T. 05 61 14 64 54
>F. 05 61 14 64 55
>
>
Andreas Förthner
Leiter Web-Entwicklung
Telefon: +49 (911) 539909 - 0
E-Mail: andreas.foerthner at netlogix.de
Website: media.netlogix.de
--
netlogix GmbH & Co. KG
IT-Services | IT-Training | Media
Andernacher Straße 53 | 90411 Nürnberg
Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
E-Mail: info at netlogix.de | Internet: http://www.netlogix.de
netlogix GmbH & Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA 13338)
Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB 20634)
Umsatzsteuer-Identifikationsnummer: DE 233472254
Geschäftsführer: Stefan Buchta, Matthias Schmidt
_______________________________________________
>FLOW3-general mailing list
>FLOW3-general at lists.typo3.org
>http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
More information about the FLOW3-general
mailing list