<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT size=2>
<DIV><PRE id=line70><SPAN class=769130405-11062007><FONT face=Arial size=3>I think I've encountered a bug in the way <img> tags are created for graphs.</FONT></SPAN></PRE><PRE><SPAN class=769130405-11062007></SPAN><FONT face=Arial size=3> </FONT><SPAN class=769130405-11062007><FONT size=3><FONT face=Arial>From one of my status pages, below is the link to it's graph.  Notice <FONT color=#ff0000>disp=Lantronix%20sshrseg1</FONT><FONT color=#000000> in the <img> tag.</FONT></FONT></FONT></SPAN></PRE><PRE><PRE id=line70><FONT face=Arial size=3><<SPAN class=start-tag>IMG</SPAN><SPAN class=attribute-name> BORDER</SPAN>=<SPAN class=attribute-value>0 </SPAN><SPAN class=attribute-name>SRC</SPAN>=<SPAN class=attribute-value>"/hobbit-cgi/hobbitgraph.sh?host=sshrseg1&amp;service=incomingdata&amp;graph_width=576&amp;graph_height=120&amp;disp=Lantronix%20sshrseg1&amp;nostale&amp;graph=hourly&amp;action=view" </SPAN><SPAN class=attribute-name>ALT</SPAN>=<SPAN class=attribute-value>"hobbit graph incomingdata"</SPAN>></FONT></PRE></PRE><PRE><PRE id=line33><SPAN class=769130405-11062007><FONT face=Arial size=3>#####</FONT></SPAN></PRE><PRE><SPAN class=769130405-11062007></SPAN><FONT face=Arial size=3> </FONT></PRE><PRE><SPAN class=769130405-11062007><FONT face=Arial size=3>After clicking on the graph on the status page to open up the expanded page with the 48hr, 12day, 48day and 576day graphs</FONT></SPAN></PRE><PRE><SPAN class=769130405-11062007><FONT size=3><FONT face=Arial>the link below is for the first graph on that resulting page.  Notice <FONT color=#ff0000>disp=Lantronix sshrseg1</FONT></FONT></FONT></SPAN></PRE><PRE><SPAN class=769130405-11062007><FONT face=Arial size=3>The space was not represented as %20 like you'd expect.</FONT></SPAN></PRE><PRE><SPAN class=769130405-11062007></SPAN><FONT face=Arial size=3> </FONT></PRE><PRE><SPAN class=769130405-11062007></SPAN><FONT face=Arial size=3><<SPAN class=start-tag>img</SPAN><SPAN class=attribute-name> src</SPAN>=<SPAN class=attribute-value>"/hobbit-cgi/hobbitgraph.sh?host=sshrseg1&amp;service=incomingdata&amp;graph_height=120&amp;graph_width=576&amp;disp=Lantronix sshrseg1&amp;nostale&amp;action=view&amp;graph=hourly" </SPAN><SPAN class=attribute-name>alt</SPAN>=<SPAN class=attribute-value>"hourly graph"</SPAN>></FONT></PRE><PRE><FONT face=Arial size=3> </FONT></PRE><PRE><SPAN class=769130405-11062007><FONT face=Arial size=3>#####</FONT></SPAN></PRE><PRE><SPAN class=769130405-11062007></SPAN><FONT face=Arial size=3> </FONT></PRE><PRE><SPAN class=769130405-11062007><FONT face=Arial size=3>Even though the disp= part of that second img tag is not properly escaped, the graph still displays (I don't know why).</FONT></SPAN></PRE><PRE><SPAN class=769130405-11062007><FONT face=Arial size=3>However, it breaks if the text for the disp= was "Lantronix #1" for example.  Apparently it chokes on the # character.</FONT></SPAN></PRE><PRE><SPAN class=769130405-11062007></SPAN><FONT face=Arial size=3> </FONT></PRE><PRE><SPAN class=769130405-11062007><FONT face=Arial size=3>Those disp= entries above came from my bb-hosts file, where the relavent line looks like this:</FONT></SPAN></PRE><PRE><SPAN class=769130405-11062007></SPAN><FONT face=Arial size=3> </FONT></PRE><PRE><SPAN class=769130405-11062007><FONT face=Arial size=3>xxx.xxx.xxx.xxx  sshrseg1  # prefer incoming <FONT color=#ff0000>NAME:"Lantronix sshrseg1"</FONT> DESCR:"Terminal Server:Incoming Alarms"</FONT></SPAN></PRE><PRE><SPAN class=769130405-11062007></SPAN><FONT face=Arial size=3> </FONT></PRE><PRE><SPAN class=769130405-11062007><FONT face=Arial size=3>That line used to look like the one below, but when it was like that, the expanded graphs didn't display and zoom was broken:</FONT></SPAN></PRE><PRE><SPAN class=769130405-11062007></SPAN><FONT face=Arial size=3> </FONT></PRE><PRE><SPAN class=769130405-11062007><SPAN class=769130405-11062007><FONT face=Arial size=3>xxx.xxx.xxx.xxx  sshrseg1  # prefer incoming <FONT color=#ff0000>NAME:"Lantronix #1"</FONT> DESCR:"Terminal Server:Incoming Alarms"</FONT></SPAN></SPAN></PRE></PRE></DIV></FONT></DIV></BODY></HTML>