The Slim Framework support forum has moved to http://discourse.slimframework.com. This Tender forum is no longer maintained or monitored.

Slim route with accents

Emmanuel HORCKMANS's Avatar

Emmanuel HORCKMANS

10 Apr, 2012 02:38 PM

Does Slim support route with accents ?
Ie: /api/test(/:docid) works for docid = 'test.pdf' but returns 404 for docid='école.pdf' even if document exists, meaning that not route is found for /api/test/%E9cole.pdf.

  1. Support Staff 1 Posted by Andrew Smith on 10 Apr, 2012 11:50 PM

    Andrew Smith's Avatar

    This works completely fine for me, I have tested in Slim 1.6.0 and have no issues at all.

  2. 2 Posted by Emmanuel HORCKM... on 11 Apr, 2012 10:32 AM

    Emmanuel HORCKMANS's Avatar

    Where do you find Slim 1.6.0 ? Available release from web site is 1.5.0 only

  3. Support Staff 3 Posted by Andrew Smith on 11 Apr, 2012 10:44 AM

    Andrew Smith's Avatar

    This will be available from the website soon, but until then you can get
    the release-1.6.0 branch from github.

  4. Andrew Smith closed this discussion on 10 Jul, 2012 12:27 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac