Skip to content

Commit

Permalink
DP-254 Route filtering amended to accept single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
tomonorman authored and yaroslavmo committed May 20, 2021
1 parent 02ac2a3 commit daabdab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
->group(function () {
$versionPattern = 'v[0-9.]+';
$servicePattern = '[_0-9a-zA-Z-.]+';
$resourcePathPattern = '[0-9a-zA-ZÀ-ÿ-_@&\#\!=,:;\/\^\$\.\|\{\}\[\]\(\)\*\+\? ]+';
$resourcePathPattern = '[0-9a-zA-ZÀ-ÿ-_@&\#\!=,:;\/\^\$\.\|\{\}\[\]\(\)\*\+\?\' ]+';
$controller = 'DreamFactory\Core\Http\Controllers\RestController';
// Don't use any() below, or include OPTIONS here, breaks CORS
$verbs = ['GET', 'HEAD', 'POST', 'PUT', 'PATCH', 'DELETE'];
Expand Down

0 comments on commit daabdab

Please sign in to comment.