Category::Plugin

amazonプラグインでのtypo

メッセージ

お疲れ様です。rawurlencodeにすべき所がencodeになってまふ。

--- amazon.inc.php.orig	2004-12-29 00:12:25.000000000 +0900
+++ amazon.inc.php	2005-02-05 13:18:51.000000000 +0900
@@ -208,7 +208,7 @@
 			$title = plugin_amazon_get_asin_title();
 			if ($title == '' || preg_match('/^\//', $s_page)) {
 				header('Location: ' . get_script_uri() .
-					'?cmd=read&page=' . encode($s_page));
+					'?cmd=read&page=' . rawurlencode($s_page));
 			}
 			$body = '#amazon(' . $asin_all . ',,image)' . "\n" .
 				'*' . $title . "\n" . $amazon_body;


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2005-02-12 (土) 12:09:26
Site admin: PukiWiki Development Team

PukiWiki 1.5.4+ © 2001-2022 PukiWiki Development Team. Powered by PHP 8.2.12. HTML convert time: 0.228 sec.

SourceForge