In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1259 [In-Portal CMS] Optimization task always 2012-04-15 13:49 2012-07-25 05:31
Dmitry  
alex  
normal  
closed 4.3.9  
fixed  
 
none 5.2.0-RC1  
https://groups.google.com/d/topic/in-portal-dev/zi2hyISzmWY/discussion
Replaced "unhtmlentities" with PHP native "htmlspecialchars_decode" method
1
0001259: Replace "unhtmlentities" with PHP native "htmlspecialchars_decode" method
Replace "kUtil::unhtmlentities" with PHP native "htmlspecialchars_decode" method.

htmlspecialchars_decode function is available since PHP 5.1.0 and is equivalent of our kUtil::unhtmlentities which was done for PHP4 backwards compatibility.

http://php.net/manual/en/function.htmlspecialchars-decode.php
patch use_buildin_htmlentitiesdecode_function_core.patch (7,579) 2012-04-20 07:27
http://tracker.in-portal.org/file_download.php?file_id=1627&type=bug
patch use_buildin_htmlentitiesdecode_function_modules.patch (3,328) 2012-04-20 07:27
http://tracker.in-portal.org/file_download.php?file_id=1628&type=bug
Issue History
2012-07-25 05:31 alex Note Added: 0004923
2012-07-25 05:31 alex Status resolved => closed
2012-04-20 07:30 alex Note Added: 0004594
2012-04-20 07:30 alex Status reviewed and tested => resolved
2012-04-20 07:30 alex Fixed in Version => 5.2.0-RC1
2012-04-20 07:30 alex Resolution open => fixed
2012-04-20 07:30 alex Assigned To !COMMUNITY => alex
2012-04-20 07:30 alex Changeset attached 5.2.x r15314
2012-04-20 07:30 alex Changeset attached 5.2.x r15313
2012-04-20 07:29 alex Changeset attached 5.2.x r15312
2012-04-20 07:29 alex Changeset attached 5.2.x r15311
2012-04-20 07:28 alex Note Added: 0004593
2012-04-20 07:28 alex Status needs testing => reviewed and tested
2012-04-20 07:28 alex Assigned To => !COMMUNITY
2012-04-20 07:28 alex Developer => alex
2012-04-20 07:28 alex Status active => needs testing
2012-04-20 07:27 alex Estimate Points 0 => 1
2012-04-20 07:27 alex File Added: use_buildin_htmlentitiesdecode_function_modules.patch
2012-04-20 07:27 alex File Added: use_buildin_htmlentitiesdecode_function_core.patch
2012-04-15 13:54 Dmitry Reference [/url] => [url]https://groups.google.com/d/topic/in-portal-dev/zi2hyISzmWY/discussion
2012-04-15 13:49 Dmitry New Issue
2012-04-15 13:49 Dmitry Reference => [url][/url]
2012-04-15 13:49 Dmitry Change Log Message => Replaced "unhtmlentities" with PHP native "htmlspecialchars_decode" method
2012-04-15 13:49 Dmitry Estimate Points => 0

Notes
(0004593)
alex   
2012-04-20 07:28   
Will test all together later.
(0004594)
alex   
2012-04-20 07:30   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001259: Replace "unhtmlentities" with PHP native "htmlspecialchars_decode" method
(0004923)
alex   
2012-07-25 05:31   
Since 5.2.0 version was released.