Skip to content

Commit

Permalink
Item14171: Merging Release02x01
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Sep 6, 2016
2 parents d704482 + ff07e2f commit a8ee920
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion JQueryPlugin/data/System/JQueryPlugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ required for Foswiki 1.1 or later.
- Item13206: upgrade to jquery-ui; added jQuery-1.12.4 / jQuery-2.2.4; \
- Item14122: upgrade to fontawesome 4.6.3; \
- Item14123: fixed =foswiki.getPubUrlPath()= using an uninitialized parameter; \
- Item14124: make skin of a jquery.loader backend configurable |
- Item14124: make skin of a jquery.loader backend configurable; \
- Item14171: fix encoding of error message in jquery.render |
| 10 Apr 2016: | (7.04) - Item14042: it's jquery-1.12.3 not jquey-1.12.3 |
| 06 Apr 2016: | (7.03) - Item14042: added jQuery-1.12.3 / jQuery-2.2.3 |
| 04 Apr 2016: | (7.02) - Item14024: fix issue with JSON::XS 3.02 in some environments |
Expand Down
7 changes: 5 additions & 2 deletions JQueryPlugin/lib/Foswiki/Plugins/JQueryPlugin/RENDER.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package Foswiki::Plugins::JQueryPlugin::RENDER;
use strict;
use warnings;

use Foswiki ();
use Foswiki::Plugins::JQueryPlugin::Plugin ();
our @ISA = qw( Foswiki::Plugins::JQueryPlugin::Plugin );

Expand Down Expand Up @@ -68,8 +69,10 @@ sub restTmpl {

if ( $result eq "" ) {
$response->header( -status => 500 );
$session->writeCompletePage( "ERROR: template '$name' not found",
undef, $contentType );
$session->writeCompletePage(
"ERROR: template '" . Foswiki::entityEncode($name) . "' not found",
undef, $contentType
);
}
else {
$response->header( -"Cache-Control" => $cacheControl ) if $cacheControl;
Expand Down

0 comments on commit a8ee920

Please sign in to comment.