Closed JonasDoebertin closed 9 years ago
I think I just found a small bug in the Url::build() method. Take the following code:
Url::build()
Url::build(array( 'query' => array( 'foo' => 'bar', ), 'hash' => 'target', ), 'http://example.com');
Expected output:
http://example.com/?foo=bar#target
Actual output:
http://example.com/?foo=bar/#target
See the extra / that has been added between the query and the hash? This leads to the query value beeing bar/ instead of only bar.
/
bar/
bar
I think I just found a small bug in the
Url::build()
method. Take the following code:Expected output:
Actual output:
See the extra
/
that has been added between the query and the hash? This leads to the query value beeingbar/
instead of onlybar
.