Apache OpenOffice (AOO) Bugzilla – Issue 59031
sal macro.cxx: problem with ${file:///whatever:key}
Last modified: 2017-05-20 11:31:15 UTC
sal/rtl/source/macro.cxx 1.13 expandMacros blindly splits ${...} at ':' (even ignoring '\:' escapes, though '\u003A' escapes of course would work), so that "${file:///whatever:key}" is split into "file" and "///whatever:key". In light of sections ("${file:section:key}") being deprecated and probably not even working (ArgParserState::expandTerm using dysfunctional(?) oslProfile), a better approach might be to split at the last ':', so that URLs need not be escaped. The documentation at <http://udk.openoffice.org/common/man/concept/micro_deployment.html> needs to be fixed (is that also mentioned in the DevGuide?).
.
Reset assigne to the default "issues@openoffice.apache.org".