Skip to content

parse information from http post  #5

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. write cgi with python and use neo_cgi.so
2. use firefox and request cgi with post method
3. check out the hdf

What is the expected output? What do you see instead?
we expected parsed information( key/value) from the post,but nothing  

What version of the product are you using? On what operating system?
clearsilver-0.10.5 linux  

Please provide any additional information below.

cgi/cgi.c  line: 643 

from :
    if (type && !strcmp(type, "application/x-www-form-urlencoded" )

change to :
    if (type && !strncmp(type, "application/x-www-form-urlencoded",33))


firefox send post like this :
    Content-Type: application/x-www-form-urlencoded; charset=UTF-8


Original issue reported on code.google.com by mya...@gmail.com on 12 Oct 2011 at 12:11

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions