Issue 59031 - sal macro.cxx: problem with ${file:///whatever:key}
Summary: sal macro.cxx: problem with ${file:///whatever:key}
Status: ACCEPTED
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: 680m142
Hardware: All All
: P3 Trivial (vote)
Target Milestone: AOO PleaseHelp
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-07 15:41 UTC by Stephan Bergmann
Modified: 2017-05-20 11:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2005-12-07 15:41:55 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?).
Comment 1 Stephan Bergmann 2005-12-07 15:44:04 UTC
.
Comment 2 Marcus 2017-05-20 11:31:15 UTC
Reset assigne to the default "issues@openoffice.apache.org".