[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 57901] New: input type="file" doesn't display name of selected
From:       Pascal Niklaus <pascal.niklaus () unibas ! ch>
Date:       2003-04-30 13:41:55
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=57901     
           Summary: input type="file" doesn't display name of selected file
                    when maxlength attrib used
           Product: konqueror
           Version: 4.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: khtml
        AssignedTo: konq-bugs@kde.org
        ReportedBy: pascal.niklaus@unibas.ch


Version:           4.0 (using KDE 3.1.1)
Installed from:    compiled sources
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.20-4GB-athlon

This is a repost because I accidently marked bug 57812 as WISHLIST, but it is a BUG...

In the following html page, selecting a file does not display it's name in the text box for the \
file name. Removing the maxlength attribute fixes the problem. However, if maxlength is not \
evaluated it should be ignored. I agree that it's probably not in the HTML4 specs, but still \
maxlength should rather be ignored that lead to malfunction.   
 Pascal 
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN 
 "http://www.w3.org/TR/html4/loose.dtd""> 
 <html> 
 <head> 
 <title>Title</title> 
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 
 <meta name="GENERATOR" content="Quanta Plus"> 
 </head> 
 <body> 
 
 <form action="xxxxxxxx" method="post" enctype="multipart/form-data"> 
 File name: <input type="file" name="myfile" size="60" maxlength="2000000"> 
 <input type="submit" value="Upload"> 
 <input type="reset" value="Reset"> 
 </form> 
 
 </body> 
 </html>
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic