From e5738122cb2c38eec03e0d9b8319236ba8ccbefa Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 30 May 2007 20:18:14 +0000 Subject: - Patch #148089 by ChrisKennedy: fixed clean URL test on Safari. --- modules/system/system.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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('
'+ Drupal.settings.cleanURL.testing +"
"); $("#clean-url.install").css("display", "block"); $.ajax({url: location.protocol +"//"+ location.host + url, type: "GET", data: " ", complete: function(response) { -- cgit v1.2.3