Bug 167272 - Pasting URL (plain text) in Calc creates invalid URL
Summary: Pasting URL (plain text) in Calc creates invalid URL
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-27 12:09 UTC by H.Lo
Modified: 2025-06-27 19:17 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.Lo 2025-06-27 12:09:00 UTC
Description:
When I paste an URL into cell inside Calc and this URL has closing brace at the end, URL is generated without that brace. Example URL:

https://amica-group.hr/hr/proizvodi/hladnjaci-1/ekgc16177bk31658ki(e)

Steps to Reproduce:
1. Open Calc
2. Put an URL whith ending brace ")" into the clipboard 
3. Click on any cell
4. Press F2
5. Paste the contents of a clipboard
6. Press Enter key
7. Try to open URL with Ctrl+LeftMouseClick

Actual Results:
The URL send to browser will be without last character ")".
Example: https://amica-group.hr/hr/proizvodi/hladnjaci-1/ekgc16177bk31658ki(e

Expected Results:
The URL sent to the browser should be the same one pasted into the cell.
Example: https://amica-group.hr/hr/proizvodi/hladnjaci-1/ekgc16177bk31658ki(e)


Reproducible: Always


User Profile Reset: No

Additional Info:
Pretty plain situation, no additional explanation needed.
Comment 1 H.Lo 2025-06-27 12:11:01 UTC
*brackets, sorry!
Comment 2 H.Lo 2025-06-27 12:13:10 UTC
Also when I click the link here in Bugzilla in my steps to reproduce, the same bug pops out meaning the URL is also invalid.
Comment 3 Mike Kaganski 2025-06-27 13:11:48 UTC
Bug 113526 comment may be interesting.
Comment 4 H.Lo 2025-06-27 14:45:31 UTC
Now installed version 25.2.4.3 and behaviour is the same.

Where did all those versions between 7 and 25 go?
Comment 5 H.Lo 2025-06-27 14:47:09 UTC
(In reply to H.Lo from comment #4)
> Now installed version 25.2.4.3 and behaviour is the same.
> 
> Where did all those versions between 7 and 25 go?

NO! My bad. Behaviour is correct in version 25! My apologies!