Important: #35069 - addQueryString.exclude also applies to config.linkVars
See forge#35069
Description
Both
add and
config. carry query
parameters of the current request over into generated page links. Until now
add only removed a parameter from the former,
so a parameter listed in
config. was silently added back
to the link and could not be dropped at all:
config.linkVars = print(int)
lib.link = TEXT
lib.link {
value = A link without the print parameter
typolink {
parameter.data = page:uid
addQueryString = untrusted
addQueryString.exclude = print
}
}
With a request to /some- the generated link still contained
?print=1.
add is now honored for parameters contributed
by
config. as well, so the link above no longer carries
the print parameter. The exclusion is only applied when
add is active —
config. on its
own is unaffected.
Integrators who relied on
config. overruling
add need to remove the affected parameter from
the
exclude
list.