Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_contentrewrite
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16673/plugins/serendipity_event_contentrewrite
Modified Files:
Tag: branch_0_6
serendipity_event_contentrewrite.php
Log Message:
Use Content-Type headers for all pages (including admin area).
Use htmlspecialchars() instead of htmlentities() to not encode native characters.
Index: serendipity_event_contentrewrite.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_contentrewrite/serendipity_event_contentrewrite.php,v
retrieving revision 1.5
retrieving revision 1.5.4.1
diff -u -d -r1.5 -r1.5.4.1
--- serendipity_event_contentrewrite.php 18 Mar 2004 12:09:04 -0000 1.5
+++ serendipity_event_contentrewrite.php 7 Apr 2004 12:38:19 -0000 1.5.4.1
@@ -221,8 +221,8 @@
foreach($this->rewrite_from AS $key => $val) {
?>
<tr>
- <th style="font-size: 8pt; font-color: white;"><?= htmlentities($val); ?></th>
- <td><?= htmlentities($this->rewrite_to[$key]); ?></td>
+ <th style="font-size: 8pt; font-color: white;"><?= htmlspecialchars($val); ?></th>
+ <td><?= htmlspecialchars($this->rewrite_to[$key]); ?></td>
</tr>
<?php
}
|