Date: 10/29/99
- Next message: Adam N. Thompson, CNE: "[PHPLIB-DEV] multiple commits"
- Previous message: athompso: "[PHPLIB-DEV] cvs commit"
- Next in thread: athompso: "[PHPLIB-DEV] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: athompso
Date: Fri Oct 29 12:15:29 1999
Modified files:
php-lib/pages/admin/view_sessions.php3
Log message:
Corrected a display issue if any variables containing HTML tags happen
to be serialized. (The browser would interpret the tags instead of
displaying them.)
Index: php-lib/pages/admin/view_sessions.php3
diff -u php-lib/pages/admin/view_sessions.php3:1.7 php-lib/pages/admin/view_sessions.php3:1.8
--- php-lib/pages/admin/view_sessions.php3:1.7 Fri Oct 29 12:12:31 1999
+++ php-lib/pages/admin/view_sessions.php3 Fri Oct 29 12:14:58 1999
@@ -32,9 +32,9 @@
$cmd = $this->enc_methods[$str_method]["dec"];
};
$dec_val = $cmd($str_value);
- printf("<FONT COLOR=\"green\"><EM>Decoded using %s:</EM></FONT><BR>%s", $cmd, $dec_val);
+ printf("<FONT COLOR=\"green\"><EM>Decoded using %s:</EM></FONT><BR>%s", $cmd, htmlentities($dec_val));
} else {
- printf("%s", $val);
+ printf("%s", htmlentities($val));
};
$this->table_cell_close($class);
}
@@ -126,6 +126,6 @@
</table>
</form>
<?php page_close() ?>
-<!-- $Id: view_sessions.php3,v 1.7 1999/10/29 10:12:31 athompso Exp $ -->
+<!-- $Id: view_sessions.php3,v 1.8 1999/10/29 10:14:58 athompso Exp $ -->
</body>
</html>
-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.
- Next message: Adam N. Thompson, CNE: "[PHPLIB-DEV] multiple commits"
- Previous message: athompso: "[PHPLIB-DEV] cvs commit"
- Next in thread: athompso: "[PHPLIB-DEV] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

