Skip to content

Commit

Permalink
Merge branch 'feature/non-standard-slugs' into develop
Browse files Browse the repository at this point in the history
# Conflicts:
#	CHANGELOG.md
  • Loading branch information
rhukster committed Apr 27, 2016
2 parents 91b2917 + 4573173 commit 1f24ab3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion system/blueprints/pages/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: PLUGIN_ADMIN.DEFAULT

rules:
slug:
pattern: "[a-z][a-z0-9_\-]+"
pattern: "[a-zа-я][a-zа-я0-9_\-]+"
min: 2
max: 80

Expand Down
2 changes: 1 addition & 1 deletion system/src/Grav/Common/Uri.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private function buildUri()
{
$uri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';

return $uri;
return rawurldecode($uri);
}

private function buildScheme()
Expand Down

0 comments on commit 1f24ab3

Please sign in to comment.