#33 Web URL are added as wikinames in tables

Wiki_syntax
closed
MySQL (31)
5
2012-10-11
2001-04-09
David Marsh
No

On MySql (and others?) when you create a URL
like "http://www.somename.com/BlantantUseOfMixedCase.ht
ml" inside of a wikipage, the
name "BlantantUseOfMixedCase" will show up in the rows
wikilinks.topage and wikiscore.pagename.

The only reason I noticed this is that I was testing
some code for wanted/undefined pages from Arno (Thanks
Arno :) and pages were showing up where that string
was only mentioned inside of URLs typed on the page.

I'm only able to test this on PhpWiki version 1.2 and
MySql.

Discussion

  • David Marsh
    David Marsh
    2001-04-09

    Logged In: YES
    user_id=103665

    On further testing, I've also seen this behaviour when
    trying to stop linking to normal wiki words with an
    exclamation mark in front (e.g. !NotaWikiLink).

     
  • Logged In: YES
    user_id=3449

    I noticed this again tonight... there's a
    javascript(alert('oops')) in the wikilinks.topage column
    after one installs PhpWiki.

    ~swain

     
  • Logged In: NO

    Blatant example:

    TestPage (running current cvs version of PHPwiki

    5:

    Link with Wiki word:
    http://phpwiki.sourceforge.net/phpwiki/index.php?HomePage

    This will create a link on the bottom of the page to
    HomePage on the local site, as if the link was to the
    local HomePage page.

     
  • Logged In: YES
    user_id=45814

    This is now fixed (I think) in the stable branch.

     
  • Logged In: YES
    user_id=45814

    I've just tested the latest 1.2.x code, and I think all
    these bugs have been fixed.

    Note that the javascript:alert('oops') link is not a bug, as
    there is a link to it on TestPage. It is not recognized as
    a URL (unsafe), so it is by definition a link to a wiki-page.