summaryrefslogtreecommitdiff
path: root/includes/path.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/path.inc')
-rw-r--r--includes/path.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/path.inc b/includes/path.inc
index 240f375f0..9e38d1171 100644
--- a/includes/path.inc
+++ b/includes/path.inc
@@ -15,7 +15,7 @@
*/
function drupal_path_initialize() {
if (!empty($_GET['q'])) {
- $_GET['q'] = drupal_get_normal_path(trim($_GET['q'], '/'));
+ $_GET['q'] = drupal_get_normal_path($_GET['q']);
}
else {
$_GET['q'] = drupal_get_normal_path(variable_get('site_frontpage', 'node'));