« Previous | Next » 

Revision a9b1b83a

IDa9b1b83aaf7469e270b2d6ea104e37d69af1bc6f
Parent fd61f276
Child 63b245af

Added by Christian Müller about 7 years ago

[BUGFIX] Don't append subrequest arguments to toplevel request

For sub-requests the ``Uribuilder`` would append the sub-request
arguments again without namespace prefix if ``addQueryString`` was set.
This can lead to invalid URLs and possible side-effects.
An example of this would be that having this URL::

some/action?namespace[argument]=foo

And building a URL in the subrequest with ``addQueryString`` enabled and
arguments set to ``array('argument' => 'bar')``. Previously the
resulting URL was::

some/action?namespace[argument]=bar&argument=foo

With this change it is::

some/action?namespace[argument]=bar

Change-Id: Ie0121019d44903d49797bec4f46f89080c6f5c4f
Releases: master, 3.0, 2.3
Fixes: NEOS-1027

  • added
  • modified
  • copied
  • renamed
  • deleted