php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #69953 Support MKCALENDAR request method
Submitted: 2015-06-27 18:44 UTC Modified: 2015-07-14 09:18 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: cmb@php.net Assigned:
Status: Closed Package: Built-in web server
PHP Version: Irrelevant OS: *
Private report: No CVE-ID:
 [2015-06-27 18:44 UTC] cmb@php.net
Description:
------------
It would be nice, if the built-in webserver supported the
MKCALENDAR request method.

Test script:
---------------
--TEST--
FR #?????: Support MKCALENDAR request method
--INI--
allow_url_fopen=1
--SKIPIF--
<?php
include "skipif.inc";
?>
--FILE--
<?php
include "php_cli_server.inc";
php_cli_server_start('echo $_SERVER["REQUEST_METHOD"];');
$context = stream_context_create(['http' => ['method' => 'MKCALENDAR']]);
var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS, false, $context));
?>
--EXPECT--
string(10) "MKCALENDAR"

Expected result:
----------------
PASS

Actual result:
--------------
FAIL

Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-27 18:45 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2015-07-14 09:18 UTC] cmb@php.net
-Status: Assigned +Status: Open -Assigned To: cmb +Assigned To:
 [2016-03-03 18:28 UTC] nikic@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2d4ad66ff2e9f64e23461325f3c73bd5791653c2
Log: Fixed bug #69953
 [2016-03-03 18:28 UTC] nikic@php.net
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Tue Aug 29 15:01:52 2017 UTC