Skip to content
Permalink
Browse files

[plugin:aws] fix htmlspecialchars_decode (add: ENT_QUOTES)

  • Loading branch information
nao-pon committed Oct 20, 2013
1 parent 1399e15 commit 3b7c471d7628db6aa1518a945b8191a4bf3fc154
Showing with 1 addition and 1 deletion.
  1. +1 −1 xoops_trust_path/modules/xpwiki/plugin/aws.inc.php
@@ -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',

0 comments on commit 3b7c471

Please sign in to comment.
You can’t perform that action at this time.