summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleonnk2015-06-16 13:53:24 (GMT)
committerSpleshka2015-06-16 13:53:24 (GMT)
commit731642367e8c69c78d7c959ff3f6620db674b112 (patch)
tree3e2382583a97bd9556052bb7f9ad628b2154a4d2
parent1e4ccc93d332cdbc8cdbbc7a4207e5e017c5df09 (diff)
Issue #1780144 by leon.nk: Should expire.module urlencode urlsHEAD7.x-2.x
-rw-r--r--includes/expire.api.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/expire.api.inc b/includes/expire.api.inc
index 8b290f7..31ebf06 100644
--- a/includes/expire.api.inc
+++ b/includes/expire.api.inc
@@ -438,7 +438,10 @@ class ExpireAPI {
// found.
$alias = drupal_get_path_alias($path, $langcode);
if ($alias != $path) {
- $urls[$alias] = $alias;
+ $urls[$alias] = array(
+ 'path' => $alias,
+ 'query' => array(),
+ );
$wildcards[$alias] = $wildcard;
}
}