Skip to content

Commit 3b7c471

Browse files
committed
[plugin:aws] fix htmlspecialchars_decode (add: ENT_QUOTES)
1 parent 1399e15 commit 3b7c471

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xoops_trust_path/modules/xpwiki/plugin/aws.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ function plugin_aws_get($f, $m, $k, $b, $s) {
201201
$checkUTIME = $this->cont['UTC'] - (86400 * 7); // 1週間前まで
202202
foreach($ama->compactArray['Items'] as $item) {
203203
if ($checkUTIME <= $item['RELEASEUTIME'] && $this->func->basename($this->root->vars['page']) !== $item['TITLE']) {
204-
$newpage = $this->root->vars['page'] . '/' . $this->func->pagename_normalize(str_replace('/', '|', htmlspecialchars_decode($item['TITLE'])));
204+
$newpage = $this->root->vars['page'] . '/' . $this->func->pagename_normalize(str_replace('/', '|', htmlspecialchars_decode($item['TITLE'], ENT_QUOTES)));
205205
if (! $this->func->is_page($newpage) && ! $this->func->is_alias($newpage)) {
206206
$data = array(
207207
'action' => 'plugin_func',

0 commit comments

Comments
 (0)