Issue 42054

Summary: SaveAs dialog resolves strings like "tt:tt" as absolut URL.
Product: General Reporter: mikhail.voytenko
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, Mathias_Bauer, stephan.bergmann.secondary
Version: 680m77   
Target Milestone: AOO Later   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

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 "issues@openoffice.apache.org".