Allow GET parameters in the shorten URL

Created on 9 August 2022, almost 3 years ago
Updated 8 May 2025, 4 days ago

Problem/Motivation

There is no problem with the module. It's working great, thanks for creating it. However one of our clients wanted to have the ability to add query parameters to the shorten URL, which at the moment is not possible with the current module version.

Steps to reproduce

When try to add something like ?param=123, the module is throwing an error: Invalid short URL.

Proposed resolution

Remove the "?" and "&" symbols from the shurly_validate_custom function + few modifications in the ShurlySubscriber.

Remaining tasks

Review the patch.

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

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

Merge Requests

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