Bug 110285

Summary: [PATCH] dosendpr.cgi verbosity sucks
Product: Documentation Reporter: Devon H. O'Dell <devon.odell>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Devon H. O'Dell 2007-03-13 21:10:23 UTC
When submitting a patch via the web form, dosendpr.cgi complains if
the MIME type in the Content-Type field isn't what it expects....
but never actually tells you what it's expecting. This patch tells
you what Content-Type you sent, and what it was expecting to match.

Unfortunately, I can't attach a patch because my browser won't
send the patch as text/foo, and I have no clue what it's sending it
as (and, while I can be arsed to check out stuff from CVS and send
a patch, I'm not going to use tcpdump and ethereal (or wireshark or
whatever) to figure out what I sent it).

Fix: 

Well, I put the patch at http://databits.net/~dho/dosendpr.patch

But you're not going to get it as an attachment here :)
How-To-Repeat: I have no clue. I'm using Firefox:

Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1) Gecko/20061130 Firefox/2.0

And it doesn't seem to want to work properly.
Comment 1 Remko Lodder 2007-03-14 06:57:34 UTC
On Tue, Mar 13, 2007 at 09:06:08PM +0000, Devon H. O'Dell wrote:
> N/A
> >Description:
> When submitting a patch via the web form, dosendpr.cgi complains if
> the MIME type in the Content-Type field isn't what it expects....
> but never actually tells you what it's expecting. This patch tells
> you what Content-Type you sent, and what it was expecting to match.
> 
> Unfortunately, I can't attach a patch because my browser won't
> send the patch as text/foo, and I have no clue what it's sending it
> as (and, while I can be arsed to check out stuff from CVS and send
> a patch, I'm not going to use tcpdump and ethereal (or wireshark or
> whatever) to figure out what I sent it).
> >How-To-Repeat:
> I have no clue. I'm using Firefox:
> 
> Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1) Gecko/20061130 Firefox/2.0
> 
> And it doesn't seem to want to work properly.
> >Fix:
> Well, I put the patch at http://databits.net/~dho/dosendpr.patch
> 
> But you're not going to get it as an attachment here :)
> >Release-Note:
> >Audit-Trail:
> >Unformatted:

Morning Devon :)

You could have just pasted the patch in one of the fields ofcourse ;-)

Thanks for sending the patch though!

Cheers,
remko

-- 
Kind regards,

     Remko Lodder               ** remko@elvandar.org
     FreeBSD                    ** remko@FreeBSD.org

     /* Quis custodiet ipsos custodes */
Comment 2 Devon H. O'Dell 2007-03-14 13:56:51 UTC
Remko Lodder wrote:
> Morning Devon :)

Morgen!

> You could have just pasted the patch in one of the fields ofcourse ;-)

Ah, but that would have been too easy! And we all know about the 
copy/paste whitespace reliability ;)

> Thanks for sending the patch though!

No problem

> Cheers,
> remko
>
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-03-16 06:35:59 UTC
remko       2007-03-16 06:35:54 UTC

  FreeBSD doc repository

  Modified files:
    en/cgi               dosendpr.cgi 
  Log:
  Specify what Content-Type we send, and what the script was expecting to
  get.
  
  PR:             www/110285
  Submitted by:   Devon H. O'Dell <devon dot odell at coyotepoint dot com>
  Silence on:     www@
  
  Revision  Changes    Path
  1.30      +4 -2      www/en/cgi/dosendpr.cgi
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Remko Lodder freebsd_committer freebsd_triage 2007-03-16 06:36:05 UTC
State Changed
From-To: open->closed

Committed. Thanks!