[Libreoffice-bugs] [Bug 122947] New: Macro Trusted Location not trusted if username shortened ~

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jan 25 09:49:57 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=122947

            Bug ID: 122947
           Summary: Macro Trusted Location not trusted if username
                    shortened ~
           Product: LibreOffice
           Version: 5.1.4.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: masi at spectra-systems.com

Description:
The users %temp% folder is not trusted even if added to trusted location if the
username is too long for windows' taste, and therefore shortened with a ~

Tested with $(user) $(home) $(temp)
Only $(temp) gives the error. 
$(user) and $(home) works as expected.

Steps to Reproduce:
1.Add $(temp) to trusted Macro location
2.Username should be long enough to generate a %temp% path with shortened
username. Eg. "C:\Users\TEST-H~1\AppData\Local\Temp\30" For the User
"TEST-Hello_World"
3.Open document (with macros) from that location

Actual Results:
Warning about document containing macros.

Expected Results:
No warning, because location should be trusted


Reproducible: Always


User Profile Reset: No



Additional Info:
This is also tested with version 6.0.7.3

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190125/3c670bf1/attachment.html>


More information about the Libreoffice-bugs mailing list