Bug 184202 - Pages with a colon in their URL path have no default filename in the Save As dialog
Summary: Pages with a colon in their URL path have no default filename in the Save As ...
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-13 06:55 UTC by Stephan Sokolow
Modified: 2010-10-04 23:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.6


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Sokolow 2009-02-13 06:55:28 UTC
Version:           4.2.00 (KDE 4.2.0) (using 4.2.00 (KDE 4.2.0), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.25-gentoo-r7-20080501

While Konqueror 4 does offer a default filename for most pages, pages like this example which have a colon in the supposed server-side filename do not receive a suggested local filename when the Save As dialog is opened.

http://www.iamnota.net/_media/ff:dis-01.html
Comment 1 David Faure 2010-10-04 23:55:24 UTC
SVN commit 1182549 by dfaure:

Fix wrong default filename in Save as dialog, due to a ":" in the filename.
KFileDialog takes a URL, so we must construct it from a path explicitely, to avoid URL-parsing.

FIXED-IN: 4.6
Fixed in both KHTML and kwebkit.
BUG: 184202


 M  +3 -2      kdecore/io/kurl.h  
 M  +3 -2      kdewebkit/kwebpage.cpp  
 M  +2 -1      khtml/khtml_ext.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1182549