Samuel Tesla (stesla) wrote in lj_dev,
Samuel Tesla
stesla
lj_dev

  • Mood:

Weird weird bug...

This is very odd. When I post *this* HTTP request, it's all fine


POST http://www.livejournal.com:80/cgi-bin/log.cgi HTTP/1.1
Host: www.livejournal.com
Content-type: application/x-www-form-urlencoded
Content-length: 232

mode=postevent&user=test&
password=test&
event=This+test+%2Ashould%2A+segfault+
clive+because+I+use+
%3CCODE%3E%24EDITOR%3C%2FCODE%3E+
in+it&
subject=Test&lineendings=unix&security=public&allowmask=1&
year=2001&mon=07&day=24&hour=19&min=56



But when I post this other HTTP request, I don't get anything back. It's rather weird.

POST http://www.livejournal.com:80/cgi-bin/log.cgi HTTP/1.1
Host: www.livejournal.com
Content-type: application/x-www-form-urlencoded
Content-length: 310

mode=postevent&user=test&password=test&
event=Hopefully+this+will+bomb+because+I+want+a+failure%2E%2E%2Ebut+then+
again%2C+maybe+it%0Awon%27t%2E++I+
%2Aam%2A+using+%3CCODE%3E%24EDITOR%3C%2FCODE%3E+
to+edit+my+entry%2E&
subject=Test&lineendings=unix&security=public&allowmask=1&
year=2001&mon=07&day=24&hour=19&min=58



Any suggestions?

Editor's Note: Any spurious newlines in the query text are simply due to formatting by the browser
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 4 comments