- Passwörter nicht mehr im Klartext in der Datenbank ablegen und
schon gar nicht im Klartext in der URL stehen haben! Urgs.
+- $::conf->{-EPL_DEBUG} funktioniert nicht. Es wird -DEBUG verwendet,
+auch wenn man in einem epl-script ist.
+
+- Umlaute in der DB müssen nach utf8 konvertiert werden. Siehe:
+http://en.gentoo-wiki.com/wiki/TIP_Convert_latin1_to_UTF-8_in_MySQL
+
Testen
- mal nach SQL-Injection-Möglichkeiten checken.
for $og (@$open_games){
push @real_open_games, $og unless exists $such{$og->[0]};
}
-
+ Util::log("real open games: ". Dumper(\@real_open_games), 2);
($rn) = $db->read_player($id, 'REALNAME') unless exists $udat{-game};
-]
<hr>
<p>[+ $db->loc('PLAYER_OPENGAMES') +]:<p>
[$ foreach $og (@real_open_games) $]
- [- $og=$og->[0]; ($og_name) = $db->read_game($og,'NAME'); -]
+ [- ($og_name) = $db->read_game($og,'NAME'); -]
<a href="player.epl?game=[+$og+]">[+$og_name+]</a><p>
[$ endforeach $]
[$ if $#{@real_open_games} < 0 $]
$messages = $aym->read_messages();
$now = $db->now();
-]
- <strong>[+ $db->loc('PLAYER_MESSAGES_HEADING') +]</strong><p>
+ <strong>[+ $db->loc('PLAYER_MESSAGES_HEADING') +]</strong><p>
<a href="player.epl?delete_all_messages=1&time=[+$now+]">
[+ $db->loc('PLAYER_DELETE_MESSAGES')+]</a><p>
[$ foreach $msg (@$messages) $]
-DEFAULT_LANGUAGE => 'EN',
-LOG_TIME_IN_LOOP => 1000, # loops until next time output in log
-DEBUG => 1,
- -EPL_DEBUG => 2,
+ -EPL_DEBUG => 1,
-MESSAGE_IN_LOG => 0,
-FULL_DEBUG_FILE => '/home/benni/aymargeddon/current/src/FROGS/+out',
-SCHEDULER_SLEEP => 2,
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
--- Dump completed on 2012-09-18 23:02:06
+-- Dump completed on 2012-09-18 23:09:01