Token for url query not working

Created on 5 March 2021, over 3 years ago
Updated 9 September 2024, 3 months ago

Problem/Motivation

In my redirect destination I want to use a query parameter from the url. But the token [current-page:query:?] is not working. It returns itself as a string. The other tokens (such as arguments, date, etc.) seem to work.

Example:
URL: localhost/my-login?foo=bar
redirect destination: /my-target?query=[current-page:query:foo]
Expected redirect: /my-target?query=bar
Created redirect: /my-target?query=[current-page:query:foo]

Steps to reproduce

See example above

πŸ› Bug report
Status

Fixed

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany droprocker

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024