Scottie <[email protected]> writes: > Hello! > First I want to thank you for great and helpful the mwlib library! > > *I noticed two errors when generating PDF files when title page (article) > in the MediaWiki have ' or ( *and* ) characters.* > > For example, if the page title is "Foo_(bar)" then I get the following > error message: > > sh: -c: line 0: syntax error near unexpected token `(' > sh: -c: line 0: `/usr/bin/mw-render --config http://mywiki/w/ --output > /tmp/mw-pdf-lJVlIa --writer rl Foo_(bar)' > > > Second example, if page title is "Foo_BAR's", then I get the following > error message: > > sh: -c: line 0: unexpected EOF while looking for matching `'' > sh: -c: line 1: syntax error: unexpected end of file > > > I do not use whole Collection extension, only the "Pdf Export" extension
this looks like a rather serious bug in the "Pdf Export" extension. Users that can create new articles and render them via that extension, may be able to run certain shell commands on your mediawiki server. -- Cheers Ralf -- You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mwlib?hl=en.
