Summary: | Fixed: MapTips widget ignores tolerance and creates incorrect mouseover and mouseout attributes. Added: intelligent LinkURL parsing, LINKTARGET attribute | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Andreas Hocevar <ahocevar@hotmail.com> |
Component: | Widget | Assignee: | Paul Spencer <pspencer@dmsolutions.ca> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chameleon-dev@lists.maptools.org |
Priority: | P2 | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: | |||
Attachments: |
Bugfixes & new features for MapTips.widget.php, CVS version 2005/01/31
Solve problem with backslash-escaped characters in URLs |
Created an attachment (id=67) [details]
Bugfixes & new features for MapTips.widget.php, CVS version 2005/01/31
bug fixes to be applied to 2.0, new features in 2.1 only. Not sure when I'll get to this, though ... hopefully within a week or so.
applied full patch in 2.1 and partial patch in 2.0. tested bug fixes in both, but not the new features in 2.1 ...
Created an attachment (id=72) [details]
Solve problem with backslash-escaped characters in URLs
If using JavaScript-URLs (like "javascript:openURL('LinkUniqueID');") in the
LINKURL attribute, the quotes are escaped again and again after every form
submission, resulting in broken URLs like
"javascript:openURL(\\\'LinkUniqueID\\\');".
My workaround in the attached patch is to strip those slashes (using
stripslashes), but this might be bad practice since it is unclear to me where
and why GET-Parameters are backslash-escaped in Chameleon.