This issue has been created
There is 1 update.
 
 
Confluence / cid:jira-generated-image-avatar-f03d4107-9965-4687-a381-01eb8fdc8965 CONFLUENCE-406 Open

Tiny links with dashes in them fail to convert

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-703259ef-659e-48ba-95ae-784f52acde34 Raphaël Jakse created this issue on 25/Feb/25 16:01
 
Summary: Tiny links with dashes in them fail to convert
Issue Type: cid:jira-generated-image-avatar-f03d4107-9965-4687-a381-01eb8fdc8965 Bug
Affects Versions: 9.79.0
Assignee: Unassigned
Components: URL Mapping, XML
Created: 25/Feb/25 16:01
Priority: cid:jira-generated-image-static-major-178e50f6-b617-4258-bf5c-34a3d59d100e Major
Reporter: Raphaël Jakse
Description:

Dashes need to be converted to slashes. But them, the base 64 URL decoder we are using to handle non-padded base64 doesn't like the slashes, causing an illegal argument exception.

A solution is to manually pad the tiny url part and then use the regular base64 decoder, like in this Python code:
https://community.atlassian.com/t5/Confluence-questions/Is-there-a-way-to-get-the-page-information-with-the-Confluence/qaq-p/1968227#date-2114987

 
 

1 update

 
cid:jira-generated-image-avatar-703259ef-659e-48ba-95ae-784f52acde34 Changes by Raphaël Jakse on 25/Feb/25 16:01
 
Assignee: Raphaël Jakse