Weird application/x-www-form-urlencoded bug

Simon Rozet simon at rozet.name
Wed Oct 24 13:17:53 EDT 2007


On 10/24/07, Brendan Taylor <whateley at gmail.com> wrote:
> On Tue, Oct 23, 2007 at 07:54:15PM +0200, Simon Rozet wrote:
> > Hello,
> >
> > I experienced a weird bug today, while implementing an AtomPub server.
> > I pasted all the story and bug details here : http://p.caboo.se/110125
> >
> > It maybe be related to http://code.whytheluckystiff.net/camping/ticket/142 ...
>
> Hi Simon. Camping 1.5 tries to parse everything that's POSTed as
> application/x-www-form-urlencoded. The SVN version is fixed, see
> http://code.whytheluckystiff.net/camping/changeset/188 .

OK! I just upgraded to the SVN trunk and it works, thanks :-)

> (Once you've upgraded you'll need to POST your Atom Entry with the
> correct mimetype, too :) )

Sure. I don't know why I was sending it at
application/x-form-www-form-urlencoded instead of
application/atom+xml;type=entry

-- 
Simon Rozet <simon at rozet.name>


More information about the Camping-list mailing list