• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoapythonrubywindowsphpgameguibathyscaphec翻訳omegatframework計画中(planning stage)twitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

PukiWiki


Commit MetaInfo

Revisione607ffc613ca96889719a12bbc7b24548858909d (tree)
Time2014-06-02 06:04:09
Authorumorigu <umorigu@gmai...>
Commiterumorigu

Log Message

BugTrack2/343: Use ENT_COMPAT at htmlspecialchars

Use ENT_COMPAT for 2nd- $flags parameter at 'htmlspecialchars' instead of
ENT_QUOTES because of the compatibility of PukiWiki 1.4.7

Change Summary

Incremental Difference

--- a/lib/func.php
+++ b/lib/func.php
@@ -702,7 +702,7 @@ function csv_implode($glue, $pieces)
702702 }
703703
704704 // Sugar with default settings
705-function htmlsc($string = '', $flags = ENT_QUOTES, $charset = CONTENT_CHARSET)
705+function htmlsc($string = '', $flags = ENT_COMPAT, $charset = CONTENT_CHARSET)
706706 {
707707 return htmlspecialchars($string, $flags, $charset); // htmlsc()
708708 }