The entries 2004/hibachi and 2005/mynx have unobfuscated code now. 2004/hibachi has a configure script that is used along the lines of the original entry (with some adjustments and fixes) and the hibachi.alt.c had to have ctype.h included too. The directory src/localhost was copied to src-alt/localhost but the rest of src/ was from Anthony. The Makefile had to be updated to build this version. 2005/mynx does have a configure script but it is, just like the original entry, unused and so the unobfuscated (in source-alt/) is also unused. The mynx.alt.c was changed to mynx.alt2.c and the unobfuscated code was made mynx.alt.c. Updated manifest, rebuilt .entry.json and index.html files. After a question is answered and taken care of (in one of 199[1-3]/ant - not sure which one) issue #2513 can possibly be closed as complete (though the manifest updates will have to be looked at more when 2004 and 2005 are reviewed).
16 lines
368 B
PHP
Executable File
16 lines
368 B
PHP
Executable File
#!/usr/bin/php
|
|
<?
|
|
// Bug #27026: header('HTTP/1.0 200 OK') never sent when explicitly
|
|
// requested.
|
|
//
|
|
// Send a 2xx status code not defined by RFC 2616. A 200 value would
|
|
// be the correct value, but PHP/CGI refuses to send it when explicitly
|
|
// set.
|
|
//
|
|
// This works for Opera 7, Mozilla 1.6, and IE 6.0 SP1.
|
|
//
|
|
header("HTTP/1.0 299 OK");
|
|
phpinfo();
|
|
?>
|
|
|