Mercurial > piecrust2
view docs/pages/support.md @ 380:f33712c4cfab
routing: Fix bugs with matching URLs with correct route but missing metadata.
When matching a route like `/foo/%slug%` against an URL like `/foo`, the route
will (correctly) return a match, but it will be completely missing the `slug`
metadata, resulting in problems elsewhere. This change makes it so that any
missing route metadata will be filled in with an empty string.
And because this means generated URLs may differ from the incoming URL when
using trailing slashes (`/foo/` _vs._ `/foo`), we make the assert in the
chef server handle those discrepancies.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 10 May 2015 00:34:21 -0700 |
parents | c750dc21d55d |
children | 0c3b811d2c26 |
line wrap: on
line source
--- title: Support header_class: support --- If you have a problem with PieCrust, there are a few ways to solve it: * Check the [documentation][doc] one more time! You never know, the solution may be in there. * Is the documentation wrong or missing something? If you know what must be fixed, you can get the source from [BitBucket][bbsrc] or [Github][ghsrc] and make a pull request. * If you're pretty sure you found a bug, please file a report on [BitBucket][bbbug] or [Github][ghbug]. If by chance you've already fixed it, even better! Make a pull request, you know the drill. * If you have questions, hit the [me][] on [Twitter][]. [doc]: {{docurl('')}} [bbsrc]: https://bitbucket.org/ludovicchabant/piecrust2 [bbbug]: https://bitbucket.org/ludovicchabant/piecrust2/issues?status=new&status=open [ghsrc]: https://github.com/ludovicchabant/PieCrust2 [ghbug]: https://github.com/ludovicchabant/PieCrust2/issues [me]: http://ludovic.chabant.com [twitter]: https://www.twitter.com/ludovicchabant