Skip to content

Commit

Permalink
[plugin:aws] fix htmlspecialchars_decode (add: ENT_QUOTES)
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Oct 20, 2013
1 parent 1399e15 commit 3b7c471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xoops_trust_path/modules/xpwiki/plugin/aws.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function plugin_aws_get($f, $m, $k, $b, $s) {
$checkUTIME = $this->cont['UTC'] - (86400 * 7); // 1週間前まで
foreach($ama->compactArray['Items'] as $item) {
if ($checkUTIME <= $item['RELEASEUTIME'] && $this->func->basename($this->root->vars['page']) !== $item['TITLE']) {
$newpage = $this->root->vars['page'] . '/' . $this->func->pagename_normalize(str_replace('/', '|', htmlspecialchars_decode($item['TITLE'])));
$newpage = $this->root->vars['page'] . '/' . $this->func->pagename_normalize(str_replace('/', '|', htmlspecialchars_decode($item['TITLE'], ENT_QUOTES)));
if (! $this->func->is_page($newpage) && ! $this->func->is_alias($newpage)) {
$data = array(
'action' => 'plugin_func',
Expand Down

0 comments on commit 3b7c471

Please sign in to comment.