OpenLayers OpenLayers

Ticket #981 (new bug)

Opened 11 months ago

Last modified 1 week ago

Re-evaluate permalink with base set vs. location.href

Reported by: crschmidt Assigned to: euzuro
Priority: minor Milestone: 2.8 Release
Component: Control.Permalink Version: 2.4
Keywords: Cc:
State: Needs Discussion

Description

Prior to 2.5, the Permalink didn't respect parameters in the URL, unless you set a this.base on the control, in which case it did respect parameters included in that URL.

As of 2.5, we now respect parameters -- but if a base is provided, we work from those, rather than from the parameters passed in the URL.

If someone sets:

this.base="/edit.html"

and then goes to:

/view.html?foo=bar&baz=quux

Currently, we don't parse foo=bar and pass it through to edit.html.

Since I can't decide whether doing that is expected behavior or not, I think this probably means that we want an option...

... but for now, we probably want to just maintain the backwards compatible behavior for 2.5, and think about this in 2.6.

Change History

12/19/07 23:45:58 changed by crschmidt

  • state set to Needs Discussion.

01/22/08 16:42:08 changed by crschmidt

  • milestone changed from 2.6 Release to 2.7 Release.

07/28/08 14:52:01 changed by euzuro

  • milestone changed from 2.7 Release to 2.8 Release.