forked from github/kensanata.oddmuse
*** empty log message ***
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user