Bug 184202

Summary: Pages with a colon in their URL path have no default filename in the Save As dialog
Product: [Applications] konqueror Reporter: Stephan Sokolow <kde_bugzilla_2>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.6

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