diff --git a/src/sunstone/public/app/app.js b/src/sunstone/public/app/app.js index dcd537d4c2..7502a1c8c3 100644 --- a/src/sunstone/public/app/app.js +++ b/src/sunstone/public/app/app.js @@ -243,7 +243,7 @@ define(function(require) { url: 'config', type: "GET", headers: { - "ZONE_NAME" : this.id + "ZONE-NAME" : this.id }, dataType: "json", success: function() { diff --git a/src/sunstone/sunstone-server.rb b/src/sunstone/sunstone-server.rb index 458a45d253..314f77141c 100755 --- a/src/sunstone/sunstone-server.rb +++ b/src/sunstone/sunstone-server.rb @@ -386,7 +386,7 @@ before do # Try with underscores if zone_name_header.nil? hpref = "HTTP_" - head_zone = "ZONE_NAME" + head_zone = "ZONE-NAME" zone_name_header = reqenv[head_zone] ? reqenv[head_zone] : reqenv[hpref+head_zone] end