www/111613: http://www.freebsd.org/send-pr.html will not post patch files

Patrick Powell papowell at astart.com
Sun Apr 15 14:30:02 UTC 2007


>Number:         111613
>Category:       www
>Synopsis:       http://www.freebsd.org/send-pr.html will not post patch files
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-www
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 15 14:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Powell
>Release:        FreeBSD 6.2
>Organization:
Astart Technologies
>Environment:
FreeBSD astart.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Mar 12 13:59:28 PDT 2007     root at laptop.private:/usr/src/sys/i386/compile/SMP  i386
>Description:
When you try to submit a patch file AND you are using FireFox THEN  you get a 'bad file type' error message.

This is caused by the following lines in the web page:

 <label for="PATCH">And/or patch file (100KB max)</label>: <input id="PATCH" type="FILE"
name="patch" maxlength="102400" accept="text/*" /><br />

Firefox is a little too clever and determines that the MimeType is 'application/xxx'

Sigh... which it is...

Patrick ("Just when you think things cannot get worse, they get worse") Powell
>How-To-Repeat:

>Fix:
I dunno...  Remove the type restriction?
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-www mailing list