https://bz.apache.org/ooo/show_bug.cgi?id=127692

Tomislav Plavcic <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Tomislav Plavcic <[email protected]> ---
I have managed to reproduce this issue under both configurations mentioned
below.

Configuration 1:
Ubuntu Bionic (18.04) Linux
Apache OO: 4.2.0 developer build
Build: AOOm1(Build:9800) - Rev. 1846402

Configuration 2:
Mac OS X Mojave 10.14.1
Apache OO: 4.1.6 release

My steps to reproduce:
1. create a new document
2. use Insert->Hyperlink and paste already provided link
https://play.google.com/store/search?q=%22chris%20brossard%22&c=apps&hl=en into
Target and Text fields
3. click Apply and Close
4. save the document as Microsoft Word 97/2000/XP (.doc) file
5. close the document and then reopen saved file
6. position cursor on the link and do Edit->Hyperlink and observe that Target
field has been truncated

Some follow-up testing:
1. Saving to native open office file format works as expected.
2. Saving to Word 95 format also works as expected (so only higher Word file
versions seem affected).
3. Tried with different combinations of "%22" and "%20" in URL and seems the
issue is visible only with "%22" which decodes into double quote character.
For example if you try with this URL:
"https://play.google.com/store/search?q=%22chris%22"; the bug will reproduce,
but if you try this "https://play.google.com/store/search?q=chris%20brossard";
it will work fine.
So it seems that "%22" in the hyperlink target is problematic when saving to
Microsoft Word 97/2000/XP (.doc) file.

I have tried using the online URL decoder (like
https://www.url-encode-decode.com/) of originally provided URL and it seems to
decode correctly so this URL should be valid.

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to