Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Two newlines before the URL breaks linking even in the default templa…

…te where this value is used as the url parameter.

The newlines get changed to <br />'s and that stuffed into the param of an href.  A URL really should just be a URL.
Or a URI.  Or one of those things.
  • Loading branch information...
commit e2f95778ce48cf86651e7fe42f27084fb42de938 1 parent d721816
Scott Walters scrottie authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/WebGUI/Workflow/Activity/
2  lib/WebGUI/Workflow/Activity/
@@ -101,7 +101,7 @@ sub execute {
if ($versionTag->getAssetCount) {
# if there's only one asset in the tag, we might as well give them a direct link to it
my $asset = $versionTag->getAssets->[0];
- $urlOfSingleAsset = "\n\n".$self->session->url->getSiteURL().$asset->getUrl("func=view;revision=".$asset->get("revisionDate"));
+ $urlOfSingleAsset = $self->session->url->getSiteURL().$asset->getUrl("func=view;revision=".$asset->get("revisionDate"));
my $var = {
message => $self->get('message'),
Please sign in to comment.
Something went wrong with that request. Please try again.