Issue 42054 - SaveAs dialog resolves strings like "tt:tt" as absolut URL.
Summary: SaveAs dialog resolves strings like "tt:tt" as absolut URL.
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 680m77
Hardware: All All
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2005-02-04 12:25 UTC by mikhail.voytenko
Modified: 2017-05-20 11:31 UTC (History)
3 users (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description mikhail.voytenko 2005-02-04 12:25:06 UTC
If user types "tt:tt" in the SaveAs dialog it is treated as an absolut URL.
After discussion with SBA and MBA there seems to be the following ways to handle
the situation:

1) Leave it as it is, means if a string containing ':' is inserted in SaveAs
dialog it is treated as absolut URL. So the office is not able to generate files
with such names. 

2) Let the dialog check whether there is a content provider related to the
substring recognized as a protocol name, if there is no and the system accepts
the string as a filename treat it as a file name.

The inconvinience of the solution (1) is that if user inserts the same string in
the OpenFile dialog, it is treated as a file name if such file exists. From
other side usage of this symbol in a file name is not acceptable on Windows
system, and very unusual on Unix systems.
The second solution fits to the case of SaveAs dialog since it makes no sence to
store a file to the URL that is not supported by UCB. The problem is that for
the same string the behaviour will be different depending from whether the user
has content provider registered for the protocol or not. From other side the
optional content provider seems to be a very rare case as well.
Comment 1 stefan.baltzer 2005-02-04 14:15:32 UTC
SBA->MAV: As discussed, It was not me, but SB. I correct the CCs accordingly
(removing myself, adding SB).
Comment 2 Marcus 2017-05-20 11:31:09 UTC
Reset assigne to the default "".