Could somebody add to Symfony Pager code:

if($request->hasParameter('page') && ((int)$request->getParameter
('page') > $this->pager->getLastPage() ||
        (int)$request->getParameter('page') < $this->pager->getFirstPage()) )
$this->forward404();


because now if for example somebody change url and write number of
page > number of all pages he will see only pager ?

--

You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en.


Reply via email to