Skip to content
Snippets Groups Projects
Commit ab65c232 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #97213 by Chris: made clean URL test work with non-conventional ports.

parent 301c6e75
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment