ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  escape_url and imagemap
Posted by Robert Grath on Nov-21-2012 06:09
Peter,
I am seing a difference.
On a machine with Windows 7, the imagemap is escaping special characters as expected, placing " & " with "%20%26%20".  I am migrating the app to a Server 2008 machine and the same code does not have the escaped characters.

I did a view source to verfiy and the & is being returned un-escaped.

Any thoughts?
Look at the DataCat parameter in the below image map...

<img src="myimage.asp?img=chart1&id=521941283_13" border="0"usemap="#map1">
<map name="map1"><area shape="poly" coords="450,193,517,202,567,226,585,260,567,294,517,318,450,327,383,318,333,294,315,260,333,226,383,202,450,193,450,260" title='16 Hours - Elaboration & Design - 0005287' href="t_planview_sql_dashboard.asp?action=draw&ReportLevel=2&ReportingSel=a&AssociateID=Grath, Bob&StartDateSelect=11/2012&EndDateSelect=11/2012&projid=0005287&DataCat=Elaboration & Design">
<area shape="rect" coords="625,334,839,368" title='16 Hours - Elaboration & Design - 0005287' href="t_planview_sql_dashboard.asp?action=draw&ReportLevel=2&ReportingSel=a&AssociateID=Grath, Bob&StartDateSelect=11/2012&EndDateSelect=11/2012&projid=0005287&DataCat=Elaboration & Design">
</map>

  Re: escape_url and imagemap
Posted by Peter Kwan on Nov-21-2012 23:45
Hi Robert,

Are you using the latest version of ChartDirector 5.1.1, which was released around 2 weeks ago? There is a known bug in ChartDirector 5.1 that special characters are not escaped correctly. The bug does not occur in earlier or later versions of ChartDirector, but just in ChartDirector 5.1.

Regards
Peter Kwan

  Re: escape_url and imagemap
Posted by Robert Grath on Nov-22-2012 01:10
The new 5.1.1 version corrected my issue.
Thank you for your quick response Peter!!!!!