]> source.dussan.org Git - nextcloud-server.git/commit
Match slashes in ../{id} resource routes 4138/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Wed, 29 Mar 2017 09:03:53 +0000 (11:03 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Tue, 4 Apr 2017 06:37:11 +0000 (08:37 +0200)
commit31f9be7a75712e9f8b7831ed29397527f9fa8baf
tree5910a620acfe05717429b00708d6413a1a2f094c
parentec5377306d8824ab7f7e9e0f534c8fb9c2b81a65
Match slashes in ../{id} resource routes

Fixes #2954

Before we could match on <prefix>/{id} however if the id contains a /
this would not match properly. But since we define the resource routes
internally we now make sure that we match all chars (up until the ?).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/AppFramework/Routing/RouteConfig.php