aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-09 16:20:30 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-09 16:20:30 +0100
commitcdb545f3400a1fd9b4ea544c65dfbdff4919b880 (patch)
tree606873c2a032403edad88c5123a29872cb9081de
parent6e691b01569113f82f286c3f04e11608596c1145 (diff)
uris in emails should always be absolute
-rw-r--r--perllib/FixMyStreet/App.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index 18f086868..29e38a24e 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -377,7 +377,7 @@ sub uri_for_email {
my $c = shift;
my @args = @_;
- my $normal_uri = $c->uri_for(@_);
+ my $normal_uri = $c->uri_for(@_)->absolute;
my $base = $c->cobrand->base_url_with_lang( 1 );
my $email_uri = $base . $normal_uri->path_query;