Issue 71761 - The directory is displayed wrong if it contain blank character.
Summary: The directory is displayed wrong if it contain blank character.
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 2.0.3
Hardware: All Windows, all
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: pb
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks: 72764
  Show dependency tree
 
Reported: 2006-11-20 06:07 UTC by liujiaxiang
Modified: 2007-08-28 06:44 UTC (History)
1 user (show)

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


Attachments
the patch of this bug (1.11 KB, application/msword)
2006-11-29 00:57 UTC, liujiaxiang
no flags Details
sorry ,forgot to change the file type.this is the patch. (1.11 KB, patch)
2006-11-29 00:59 UTC, liujiaxiang
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description liujiaxiang 2006-11-20 06:07:52 UTC
In the OOo 2.0.3 
The directory is displayed wrong if it contain blank character.
The bug can be described as follows : 
1. Open a new word-processing document
2. Insert->picture->from file->select a picturclickthe Link->Open.
3. select the picture that has been insert->Edit->Links
4. the directory of the sorce file contain "%20" when the file name or the 
directory contain blank character.
Comment 1 thorsten.martens 2006-11-23 12:25:04 UTC
TM->WG: please have a look, thanks !
Comment 2 wolframgarten 2006-11-23 15:55:08 UTC
Reproducible. Reassigned. The picture has to be inserted as link to get
edit/link active.
Comment 3 liujiaxiang 2006-11-29 00:57:16 UTC
Created attachment 40982 [details]
the patch of this bug
Comment 4 liujiaxiang 2006-11-29 00:59:12 UTC
Created attachment 40983 [details]
sorry ,forgot to change the file type.this is the patch.
Comment 5 pb 2006-11-29 08:45:47 UTC
pb -> liutao: thank you for your patch, but it is easier and platform
independent to use INetURLObject::GetMainURL(DECODE_WITH_CHARSET). Or you use
utl::LocalFileHelper::ConvertURL2SystemPath() to show the system path instead of
the URL. But I think this is no defect because we decided to show the URL here.
And a URL with blanks is not correct.
Comment 6 pb 2007-08-28 06:42:34 UTC
pb: duplicate and closed.
Comment 7 pb 2007-08-28 06:44:28 UTC
pb: of course not duplicate but worksforme.