*** empty log message ***

This commit is contained in:
Alex Schroeder
2011-10-12 22:45:52 +00:00
parent eb2c62f643
commit d7bd39af3d
2 changed files with 19 additions and 1 deletions

View File

@@ -1,3 +1,11 @@
2011-10-13 Alex Schroeder <aschroeder@thinkmo.de>
* wiki.pl (TextIsFile): Extract encoding from the file.
(DoDownload): Take encoding and pass it on.
(GetHttpHeader): Accept encoding parameter and add HTTP header.
(DoPost): Save gzip encoding if the file content starts with the
magic bytes.
2011-10-12 Alex Schroeder <alex@gnu.org>
* modules/honeypot.pl (HoneyPotInspection): New.

View File

@@ -14,7 +14,7 @@
require 't/test.pl';
package OddMuse;
use Test::More tests => 32;
use Test::More tests => 38;
clear_pages();
@@ -39,6 +39,16 @@ xpath_run_tests(split('\n',<<'EOT'));
//a[@class="url http outside"][@href="http://example.org/"][text()="this & that"]
EOT
# Seite zum Testen von Kommentaren
test_page(update_page('Änderungen', 'Veränderung'),
'Änderungen', 'Veränderung');
# redirect auf die richtige Seite
test_page(get_page('title=Änderungen aftertext=Öffnung'),
'Location:', UrlEncode('Änderungen'));
# Test von Original und Kommentar
test_page(get_page('Änderungen'),
'Veränderung', 'Öffnung');
add_module('creole.pl');
# same test as before