Commit Graph

20 Commits (cad753baf9b25ddd8e4cb5454766fce1cdc4217a)

Author SHA1 Message Date
Joey Hess f2529edcab Fix typo in Danish translation of shortcuts page that caused expoentional regexp blowup.
Complex regular subexpression recursion limit (32766) exceeded at
/home/joey/src/ikiwiki/IkiWiki.pm line 1532.

This doesn't fix the blowup potential itself, it just fixes the typo. :)

A sample page that causes the blowup is attached below for future
reference. The first directive is not terminated. Contributing are the
additional quotes around the following directives, which mean that they can
each be processed as a parameter to the first directive, or as an
individual directive. In resolving this ambiguity, the regexp blows up.
Happily, perl contains the explosion , so I don't think there is an exploit
here.

"[[!shortcut name=wiktionary url=\"https://secure.wikimedia.org/wiktionary/en/"
"[[!shortcut name=debss url=\"http://snapshot.debian.net/package/%s\"]]"
"[[!shortcut name=debwiki url=\"http://wiki.debian.org/%s\"]]"
"[[!shortcut name=fdobug url=\"https://bugs.freedesktop.org/show_bug.cgi?id=%s\" desc=\"freedesktop.org bug #%s\"]]"
"[[!shortcut name=fdolist url=\"http://lists.freedesktop.org/mailman/listinfo/%s\" desc=\"%s@lists.freedesktop.org\"]]"
"[[!shortcut name=cpanrt url=\"https://rt.cpan.org/Ticket/Display.html?id=%s\" desc=\"CPAN RT#%s\"]]"
"[[!shortcut name=novellbug url=\"https://bugzilla.novell.com/show_bug.cgi?id=%s\" desc=\"bug %s\"]]"
"[[!shortcut name=fdolist url=\"http://lists.freedesktop.org/mailman/listinfo/%s\" desc=\"%s@lists.freedesktop.org\"]]"
"[[!shortcut name=gnomebug url=\"http://bugzilla.gnome.org/show_bug.cgi?id=%s\" desc=\"GNOME bug #%s\"]]"
"[[!shortcut name=linuxbug url=\"http://bugzilla.kernel.org/show_bug.cgi?id=%s\" desc=\"Linux bug #%s\"]]"
"[[!shortcut name=gmane url=\"http://dir.gmane.org/gmane.%s\" desc=\"gmane.%s\"]]"
"[[!shortcut name=gmanemsg url=\"http://mid.gmane.org/%s\"]]"
"[[!shortcut name=cpan url=\"http://search.cpan.org/search?mode=dist&query=%s\"]]"
"[[!shortcut name=ctan url=\"http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s\"]]"
"[[!shortcut name=hoogle url=\"http://haskell.org/hoogle/?q=%s\"]]"
"[[!shortcut name=iki url=\"http://ikiwiki.info/%S/\"]]"
"[[!shortcut name=ljuser url=\"http://%s.livejournal.com/\"]]"
"[[!shortcut name=rfc url=\"http://www.ietf.org/rfc/rfc%s.txt\" desc=\"RFC %s\"]]"
"[[!shortcut name=c2 url=\"http://c2.com/cgi/wiki?%s\"]]"
"[[!shortcut name=meatballwiki url=\"http://www.usemod.com/cgi-bin/mb.pl?%s\"]]"
"[[!shortcut name=emacswiki url=\"http://www.emacswiki.org/cgi-bin/wiki/%s\"]]"
"[[!shortcut name=haskellwiki url=\"http://haskell.org/haskellwiki/%s\"]]"
"[[!shortcut name=dict url=\"http://www.dict.org/bin/Dict?Form=Dict1&Strategy=*&Database=*&Query=%s\"]]"
"[[!shortcut name=imdb url=\"http://imdb.com/find?q=%s\"]]"
"[[!shortcut name=gpg url=\"http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0x%s\"]]"
"[[!shortcut name=perldoc url=\"http://perldoc.perl.org/search.html?q=%s\"]]"
"[[!shortcut name=whois url=\"http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain\"]]"
"[[!shortcut name=cve url=\"http://cve.mitre.org/cgi-bin/cvename.cgi?name=%s\"]]"
"[[!shortcut name=cia url=\"http://cia.vc/stats/project/%s\"]]"
"[[!shortcut name=ciauser url=\"http://cia.vc/stats/user/%s\"]]"
"[[!shortcut name=flickr url=\"http://www.flickr.com/photos/%s\"]]"
"[[!shortcut name=man url=\"http://linux.die.net/man/%s\"]]"
"[[!shortcut name=ohloh url=\"http://www.ohloh.net/projects/%s\"]]"
"[[!shortcut name=cpanrt url=\"https://rt.cpan.org/Ticket/Display.html?id=%s\" desc=\"CPAN RT#%s\"]]"
"[[!shortcut name=novellbug url=\"https://bugzilla.novell.com/show_bug.cgi?id=%s\" desc=\"bug %s\"]]"
2011-07-26 17:29:36 +02:00
Jonas Smedegaard e818ad1c04 Update danish l10n of underlays.
(cherry picked from commit f893d11e8275ef31a79679aeb7d8ecb3fecc89cf)
2011-05-19 13:43:36 -04:00
Joey Hess f1671eeb8b revert massive l10n refersh
This reverts commit 5a82bc5e87
and commit 55dc246168.

That turns out to not be the way l10n of underlays is handled, instead
these changes are being made to the l10n branch, and the Danish
underlay translation update will be copied into master from that
branch.

This is necessary to avoid tying that branch up in a state where
it is horribly diverged from master and cannot be updated anymore.
2011-05-19 13:29:19 -04:00
Philippe Batailler 63dc670e87 Typo
(cherry picked from commit bde361bb052de7cb4455eb20f3d03fa163d38bc8)
2011-05-19 12:51:04 -04:00
Jonas Smedegaard 55dc246168 Update danish l10n of underlays. 2011-05-05 22:35:52 +02:00
Jonas Smedegaard 5a82bc5e87 Refresh gettext files of underlays. 2011-05-05 20:16:40 +02:00
Joey Hess 44b6101c3f merge translation updates from l10n site 2010-07-22 16:48:38 -04:00
Joey Hess 626ad04114 merge updated translations from l10n
This includes an (almost) up-to-date French basewiki translation.
2010-07-18 18:35:10 -04:00
Joey Hess fc0c43aa75 fix missing \ 2010-04-26 15:51:20 -04:00
Joey Hess a79c52337c fix missing close quote on all the Content-Transfer-Encoding in the German po files 2010-03-14 13:44:01 -04:00
Joey Hess 30c30a0cdd Add complete German basewiki and directives translation done by Sebastian Kuhnert. 2010-03-14 13:15:55 -04:00
Joey Hess c3ae09056d Add complete Spanish basewiki translation done by Fernando Gonzalez de Requena. 2009-12-06 15:09:59 -05:00
Joey Hess 8a5f76d74d merge changes from l10n 2009-09-13 19:29:26 -04:00
Joey Hess 4601b5b6f9 Fix some typos in Czech translation
(cherry picked from commit 0f2eebc5355f1fcd64e5feb92f4aa7b2c39b4cac)
2009-09-08 02:25:48 -04:00
Joey Hess 81b9321e61 Add French basewiki translation from the Debian French l10n team, including Philippe Batailler, Alexandre Dupas, and Steve Petruzzello. 2009-09-02 15:04:27 -04:00
Miroslav Kure 11ef522086 Initial Czech translation of basewiki/ 2009-08-28 06:10:10 -04:00
Joey Hess 23f2d53277 merge updates to danish translation from l10n 2009-08-28 06:07:59 -04:00
Jonas Smedegaard 1e9e1a6800 Update danish underlays for po4a 0.36.2 2009-07-22 22:59:12 +02:00
Jonas Smedegaard 2305f57634 Unfuzz danish translation of basewiki/.../po.da underlay 2009-07-20 11:49:30 +02:00
Jonas Smedegaard 031b880ad9 Add initial danish underlay translation 2009-07-20 00:44:42 +02:00