Issue Bug Closed

#107475Link browser breaks URL encoding

Mathias Brodala 09/17/25, 13:05 updated 12/02/25, 13:04

Description

Given an URL like this:

https://example.org/page?query=%7B%22foo%22:%5B%22bar%22%5D%7D

If such an URL is pasted into a link field and saved, the URL link is kept unchanged.

However, if the Link Browser is opened and closed without change via Set Link, the URL is modified:

https://example.org/page?query={\"foo\":[\"bar\"]}

1. All escape sequences are replaced with their plain counterparts
2. A backslash is put in front of double quotes.

According to RFC 1738 unsafe characters must always be escaped, so an URL like above is bound to cause issues.

Reviews 3

History 28

  1. Gerrit Code Review pushed patch set 1 for main to change 91548 status New Under Review 11/11/25, 12:39

  2. Gerrit Code Review pushed patch set 1 for main to change 91557 11/11/25, 14:50

  3. Gerrit Code Review pushed patch set 2 for main to change 91557 11/11/25, 14:51

  4. Gerrit Code Review pushed patch set 3 for main to change 91557 11/11/25, 15:22

  5. Gerrit Code Review pushed patch set 4 for main to change 91557 11/12/25, 11:02

  6. Gerrit Code Review pushed patch set 1 for 13.4 to change 91613 11/13/25, 11:51

  7. Andreas Nedbal commented and changed status Under Review Resolved done 0 % 100 % 11/13/25, 12:00

    Applied in changeset commit:d1af61be8c4d427381af0bb726735f5979ad47a9.

  8. Benni Mack changed status Resolved Closed 12/02/25, 13:04