There seems to be a problem with the codeblock-export (do=export_code) in conjunction with URL-rewrite (I'm using lighttpd with rules provided by dokuwiki).
When I have a codeblock like
<file - myfile.txt>
then the link is:
which the rewrite-rule forms to:
but the correct URL would be:
It seems to me that the problem lies in inc/common.php:409: It appends an '?' and not the provided separator.
I attached my patch for proposal.