File: bug_64308.phpt

package info (click to toggle)
php-oauth 2.0.2%2B1.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 816 kB
  • ctags: 950
  • sloc: ansic: 7,197; xml: 841; php: 536; makefile: 1
file content (12 lines) | stat: -rw-r--r-- 348 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
PECL oauth: Bug #64308 (Protocol and host name not lowercased when generating signature base string)
--SKIPIF--
<?php # vim:ft=php
if (!extension_loaded('oauth')) die('skip');
?>
--FILE--
<?php
echo oauth_get_sbs('GET', 'HTTP://SimonWpt.trovebox.com/hello.json').PHP_EOL;
?>
--EXPECT--
GET&http%3A%2F%2Fsimonwpt.trovebox.com%2Fhello.json&