Skip to content

Commit 2348425

Browse files
authored
DOC-2309: Links inserted with & encoding are now decoded to & before inserting. (#3848)
* DOC-2309: Links inserted with & encoding are now decoded to & before inserting. * DOC-3209: Fix rendering issues.
1 parent 3fb1446 commit 2348425

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

modules/ROOT/pages/8.1.0-release-notes.adoc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,24 @@ In previous versions of {productname}, using the TAB key to move focus into a `f
351351

352352
In {productname} {release-version}, this bug has been fixed, ensuring that figcaptions can now be edited seamlessly with keyboard navigation alone, improving accessibility and overall editing efficiency.
353353

354+
=== Links inserted with `+&+` encoding are now decoded to `&` before inserting
355+
// #TINY-12504
356+
357+
Previously, when pasting URLs containing encoded ampersands `+&+` into {productname}, the encoded values were preserved, resulting in double encoding when the link was inserted into content. For example, a pasted link such as
358+
359+
[source,text]
360+
----
361+
https://example.com/search?&query=example
362+
----
363+
would appear in the editor source as
364+
365+
[source,text]
366+
----
367+
https://example.com/search?&query=example
368+
----
369+
370+
This caused issues when opening such links, as the URLs became invalid. In {release-version}, {productname} now automatically decodes `+&+` back to `+&+` before inserting the link, ensuring that pasted URLs remain valid and functional in both the editor and the source code.
371+
354372

355373
[[security-fixes]]
356374
== Security fixes

0 commit comments

Comments
 (0)