v0.4.1
版本发布时间: 2015-09-05 19:55:00
clue/reactphp-buzz最新发布版本:v2.9.0(2020-07-03 18:47:43)
-
Fix: Replace URI placeholders before applying base URI, in order to avoid duplicate slashes introduced due to URI placeholders. (#48)
// now correctly returns "http://example.com/path" // instead of previous "http://example.com//path" $browser = $browser->withBase('http://example.com/'); echo $browser->resolve('{+path}', array('path' => '/path')); // now correctly returns "http://example.com/path?q=test" // instead of previous "http://example.com/path/?q=test" $browser = $browser->withBase('http://example.com/path'); echo $browser->resolve('{?q}', array('q' => 'test'));