Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
no need for extra method calls
  • Loading branch information
kraih committed Jun 22, 2016
1 parent 2c139a0 commit b368c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/URL.pm
Expand Up @@ -150,7 +150,7 @@ sub to_abs {

# Inherit path
if (!@{$path->parts}) {
$path = $abs->path($base->path->clone)->path->canonicalize;
$abs->path($base->path->clone->canonicalize);

# Query
$abs->query($base->query->clone) unless length $abs->query->to_string;
Expand Down

0 comments on commit b368c81

Please sign in to comment.