summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-05-30 20:18:14 +0000
committerDries Buytaert <dries@buytaert.net>2007-05-30 20:18:14 +0000
commite5738122cb2c38eec03e0d9b8319236ba8ccbefa (patch)
treec6e9cf61604b12c94d064b7db264716047f6fc2d /modules
parentfd9dc74c9d918632569f2e41006ee1a5a14aeb32 (diff)
downloadbrdo-e5738122cb2c38eec03e0d9b8319236ba8ccbefa.tar.gz
brdo-e5738122cb2c38eec03e0d9b8319236ba8ccbefa.tar.bz2
- Patch #148089 by ChrisKennedy: fixed clean URL test on Safari.
Diffstat (limited to 'modules')
-rw-r--r--modules/system/system.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.js b/modules/system/system.js
index 93f101f12..4d254033c 100644
--- a/modules/system/system.js
+++ b/modules/system/system.js
@@ -34,7 +34,7 @@ Drupal.cleanURLsSettingsCheck = function() {
*/
Drupal.cleanURLsInstallCheck = function() {
var pathname = location.pathname +"";
- var url = pathname.replace(/\/[^\/]*?$/, '/') +"node";
+ var url = pathname.replace(/\/[^/]*$/, "/") +"node";
$("#clean-url .description").append('<span><div id="testing">'+ Drupal.settings.cleanURL.testing +"</div></span>");
$("#clean-url.install").css("display", "block");
$.ajax({url: location.protocol +"//"+ location.host + url, type: "GET", data: " ", complete: function(response) {