-
Incident report
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
http://host:8080/zabbix-1.5/charts.php?stime=200802070734&period=3600
will redirect to:
http://host/zabbix-1.5/charts.php?stime=200802070734&period=3600
the patch:
diff -ur zabbix-1.5-20080201/frontends/php/js/url.js /var/www/html/zabbix-1.5/js/url.js
— zabbix-1.5-20080201/frontends/php/js/url.js 2008-02-01 11:01:08.000000000 +0100
+++ /var/www/html/zabbix-1.5/js/url.js 2008-02-07 12:18:27.000000000 +0100
@@ -78,7 +78,8 @@
else{
var portColonIndex=this.host.indexOf(':');
if(portColonIndex>=0)
}
@@ -138,6 +139,7 @@
uri += encodeURI((this.username.length > 0)?(this.username):'');
uri += encodeURI((this.password.length > 0)?(':'+this.password):'');
uri += (this.host.length > 0)?(this.host):'';
+ uri += (this.port > 0) ? (":"+this.port):'';
uri += encodeURI((this.path.length > 0)?(this.path):'');
uri += encodeURI((this.query.length > 0)?('?'+this.query):'');
uri += encodeURI((this.reference.length > 0)?('#'+this.reference):'');
@@ -251,4 +253,4 @@
this.path = path;
}
-}
\ No newline at end of file
+}