[Catalyst-dev] uri_for() and URI fragments
Uwe Völker
uwe at uwevoelker.de
Fri Sep 3 14:12:04 GMT 2010
Did you mix up #anchor and #fragment?
Uwe
> This test should be added to t/aggregate/unit_core_uri_for.t:
>
> is(
> Catalyst::uri_for( $context, '/bar#anchor', { param1 => 'value1' }
> )->as_string,
> 'http://127.0.0.1/foo/bar?param1=value1#fragment',
> 'URI for path with fragment and query params'
> );
>
>
> # Failed test 'URI for path with fragment and query params'
> # at t/aggregate/unit_core_uri_for.t line 61.
> # got: 'http://127.0.0.1/foo/bar#anchor?param1=value1'
> # expected: 'http://127.0.0.1/foo/bar?param1=value1#fragment'
More information about the Catalyst-dev
mailing list