#135 plugin arguments containing ''


I recently noticed that the BackLinks feature was no
longer working. The text that is displayed is:

There are no backlinks for </em>.

The reason seems to be is that the BackLinks page
calls the Backlinks plugin like so:

<?plugin BackLinks exclude||='' include_self||=1
noheader||=0 page||='' info||='' ?>

It seems like the '' (two single-quotes) is first
transformed to italic (<em> </em>), corrupting the
plugin arguments before they are parsed.

Also, a question: does anybody know what is the ||
(double-bar) for in the above argument list?


  • Michael van Dam

    Michael van Dam - 2002-09-26

    Logged In: YES

    Ooops, nevermind about the question at bottom. Found
    the answer in the source code.

  • Geoffrey T. Dairiki

    Logged In: YES

    This doesn't seem to be a problem currently. At least I
    can't reproduce it.

    The arg||=value syntax sets default values for the plugin args.
    (The arg can be overriden by HTTP query args to the page.)
    (If you use just arg=value, then query args are ignored.)


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks