OpenLayers OpenLayers

Ticket #1604 (new feature)

Opened 2 months ago

Last modified 3 weeks ago

alphahack image src may be wrong

Reported by: pgiraud Assigned to: pgiraud
Priority: critical Milestone: 2.7 Release
Component: general Version: 2.6
Keywords: Cc:
State: Needs Discussion

Description

If the image src contains "'" (quotes) the alphahack breaks.

The attached patch inverts the quotes and double quotes to build the filter string.

An other possible solution would be to use array.join().

Attachments

patch-1604-r7460-A0.diff (3.0 kB) - added by pgiraud on 06/30/08 10:58:57.

Change History

06/30/08 10:58:57 changed by pgiraud

  • attachment patch-1604-r7460-A0.diff added.

06/30/08 11:00:42 changed by pgiraud

  • state set to Review.
  • milestone set to 2.7 Release.

07/28/08 15:07:47 changed by euzuro

  • owner set to euzuro.
  • status changed from new to assigned.

07/28/08 15:18:25 changed by euzuro

  • priority changed from minor to critical.

07/31/08 13:50:48 changed by crschmidt

  • state changed from Review to Needs Discussion.

pgiraud:

Is there something that makes double quotes more likely than single quotes? Doesn't this just change one problem for another, and we should actually instead escape the " if we have one?

08/01/08 13:57:15 changed by euzuro

  • owner changed from euzuro to pgiraud.
  • status changed from assigned to new.