Index: modules/system/system.js
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.js,v
retrieving revision 1.2
diff -u -p -r1.2 system.js
--- modules/system/system.js	13 Apr 2007 07:33:23 -0000	1.2
+++ modules/system/system.js	24 Apr 2007 19:35:34 -0000
@@ -11,7 +11,7 @@ Drupal.cleanURLsSettingsCheck = function
   var url = location.pathname +"admin/settings/clean-urls";
   $("#clean-url .description span").html('<div id="testing">'+ Drupal.settings.cleanURL.testing +"</div>");
   $("#clean-url p").hide();
-  $.ajax({url: location.protocol +"//"+ location.hostname + url, type: "GET", data: " ", complete: function(response) {
+  $.ajax({url: location.protocol +"//"+ location.host + url, type: "GET", data: " ", complete: function(response) {
     $("#testing").toggle();
     if (response.status == 200) {
       // Check was successful.
