History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: ZF-3922
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Matthew Weier O'Phinney
Reporter: Matthew Weier O'Phinney
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

Router no longer matches urls with trailing slashes

Created: 11/Aug/08 06:35 AM   Updated: 02/Sep/08 10:39 AM
Component/s: Zend_Controller
Affects Version/s: 1.6.0RC1
Fix Version/s: 1.6.0

Time Tracking:
Original Estimate: 30 minutes
Original Estimate - 30 minutes
Remaining Estimate: 30 minutes
Remaining Estimate - 30 minutes
Time Spent: Not Specified
Remaining Estimate - 30 minutes

 Public Fields   Internal Project Management Fields   
Tags:
Participants: Ben Scholzen, Matthew Weier O'Phinney and Wil Sinclair
Fix Version Priority: Must Have


 Description  « Hide
Prior to 1.6.0RC2 sanity check packages, the following route:
routes.article.type = "Zend_Controller_Router_Route"
routes.article.route = "blog/articles/:id"
routes.article.defaults.controller = blog
routes.article.defaults.action = articles
routes.article.defaults.id = 0
routes.article.reqs.id = "[0-9]+"

would match both 'http://localhost/blog/articles/2000/' and 'http://localhost/blog/articles/2000'; currently, only the latter route now will match.



 All   Comments   Work Log   Change History   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Ben Scholzen - 11/Aug/08 06:41 AM
Does a unit test cover this case yet?

Matthew Weier O'Phinney - 11/Aug/08 06:49 AM
Fixed in trunk with r10883 and in 1.6 release branch with r10884 (verified on #zftalk.dev)

Wil Sinclair - 02/Sep/08 10:39 AM
Updating for the 1.6.0 release.