tag 476404 patch fixed-upstream
thanks
On Thu, Apr 17, 2008 at 03:30:11PM +0200, Wolfgang Tremmel wrote:
> this patch solves the problem with the URL:
Thanks! This will be fixed in the next upstream release or the next
Debian version, whichever comes sooner.
I'm attaching the updated patch for the current version, 2.3.5.
Cheers,
--
Niko Tyni [EMAIL PROTECTED]
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 13dac78..50fad0f 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -1378,7 +1378,7 @@ sub get_detail ($$$$;$){
# $page .= (time-$timer_start)."<br/>";
# $page .= join " ",map {"'$_'"} @task;
$page .= "<br/>";
- $page .= ( qq{<a href="?}.hierarchy($q).qq{displaymode=n;start=$startstr;end=now;}."target=".$q->param('target').$s.'">'
+ $page .= ( qq{<a href="}.cgiurl($q,$cfg)."?".hierarchy($q).qq{displaymode=n;start=$startstr;end=now;}."target=".$q->param('target').$s.'">'
. qq{<IMG BORDER="0" SRC="${imghref}${s}_${end}_${start}.png">}."</a>" ); #"
$page .= "</div>";
}