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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to