FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=15758&edit=1

ID: 15758
Comment by: madmax@utepils.com
Reported By: kristian at bohemians dot org
Summary: URLs with # at the end not considered a url
Status: Feedback
Type: Bug
Package: Text_Wiki
Operating System: Linux
Package Version: 1.2.0
PHP Version: 5.2.0
Roadmap Versions:
New Comment:

The problem is that the last character in the URL is restricted to be
A-Z, a-z, 0-9, ?, =, & or ~. It is only the last character that has this
restriction. See added patch.


Previous Comments:
------------------------------------------------------------------------

[2009-06-09 21:51:49] rodrigosprimo

-Status: Open
+Status: Feedback
Waiting feedback, as I mentioned in a previously comment I was not able
to reproduce the bug.

------------------------------------------------------------------------

[2009-06-05 18:59:05] rodrigosprimo

Hi kristianly, could you give more details on how to reproduce this
bug? I'll be working on Text_Wiki for the next two months. I tried to
reproduce the problem with # at the end of an URL by testing it here
http://www.ce.unipr.it/~tomaiuol/creole_example.php

I tried to convert MediaWiki syntax
[http://foo.bar.com/index.html#section1] to Wiki Creole and to XHTML and
both went well.

Maybe I'm not understanding the problem because I'm new to Text_Wiki or
maybe we need more information about it.

Thanks, Rodrigo.

------------------------------------------------------------------------

[2009-01-24 14:15:43] kristianly

Description:
------------
Ie: http://foo.bar.com/index.html#section1 ...

I ran into this problem because my users copy-pasted a link to
SomePage, also generated by Text_Wiki, which ends with a blank # (ie:
http://foo.bar.com/index.php?page=MyPage#).

------------------------------------------------------------------------

Search Discussions

  • Papercrane at Jan 20, 2010 at 5:52 am
    Edit report at http://pear.php.net/bugs/bug.php?id=15758&edit=1

    ID: 15758
    Updated by: papercrane@reversefold.com
    Reported By: kristian at bohemians dot org
    Summary: URLs with # at the end not considered a url
    Status: Feedback
    Type: Bug
    Package: Text_Wiki
    Operating System: Linux
    Package Version: 1.2.0
    PHP Version: 5.2.0
    Roadmap Versions:
    New Comment:

    Is there a reason you removed the last bit of the regex instead of just
    adding # to it?


    Previous Comments:
    ------------------------------------------------------------------------

    [2010-01-13 13:19:48] madmax

    The problem is that the last character in the URL is restricted to be
    A-Z, a-z, 0-9, ?, =, & or ~. It is only the last character that has this
    restriction. See added patch.

    ------------------------------------------------------------------------

    [2009-06-09 21:51:49] rodrigosprimo

    -Status: Open
    +Status: Feedback
    Waiting feedback, as I mentioned in a previously comment I was not able
    to reproduce the bug.

    ------------------------------------------------------------------------

    [2009-06-05 18:59:05] rodrigosprimo

    Hi kristianly, could you give more details on how to reproduce this
    bug? I'll be working on Text_Wiki for the next two months. I tried to
    reproduce the problem with # at the end of an URL by testing it here
    http://www.ce.unipr.it/~tomaiuol/creole_example.php

    I tried to convert MediaWiki syntax
    [http://foo.bar.com/index.html#section1] to Wiki Creole and to XHTML and
    both went well.

    Maybe I'm not understanding the problem because I'm new to Text_Wiki or
    maybe we need more information about it.

    Thanks, Rodrigo.

    ------------------------------------------------------------------------

    [2009-01-24 14:15:43] kristianly

    Description:
    ------------
    Ie: http://foo.bar.com/index.html#section1 ...

    I ran into this problem because my users copy-pasted a link to
    SomePage, also generated by Text_Wiki, which ends with a blank # (ie:
    http://foo.bar.com/index.php?page=MyPage#).

    ------------------------------------------------------------------------
  • Papercrane at Jan 20, 2010 at 6:59 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=15758&edit=1

    ID: 15758
    Updated by: papercrane@reversefold.com
    Reported By: kristian at bohemians dot org
    Summary: URLs with # at the end not considered a url
    -Status: Feedback
    +Status: Closed
    Type: Bug
    Package: Text_Wiki
    Operating System: Linux
    Package Version: 1.2.0
    PHP Version: 5.2.0
    -Assigned To:
    +Assigned To: justinpatrin
    -Roadmap Versions:
    +Roadmap Versions: 1.3.0
    New Comment:

    -Status: Feedback
    +Status: Closed
    -Assigned To:
    +Assigned To: justinpatrin
    -Roadmap Versions:
    +Roadmap Versions: 1.3.0
    This bug has been fixed in SVN.

    If this was a documentation problem, the fix will appear on
    pear.php.net by the end of next Sunday (CET).

    If this was a problem with the pear.php.net website, the change should
    be live shortly.

    Otherwise, the fix will appear in the package's next release.

    Thank you for the report and for helping us make PEAR better.

    I've Added # to the end of the regexes for URLs across the board. I'd
    appreciate some testing as I'm admittedly not as close to this package
    as I once was.


    Previous Comments:
    ------------------------------------------------------------------------

    [2010-01-20 05:50:57] justinpatrin

    Is there a reason you removed the last bit of the regex instead of just
    adding # to it?

    ------------------------------------------------------------------------

    [2010-01-13 13:19:48] madmax

    The problem is that the last character in the URL is restricted to be
    A-Z, a-z, 0-9, ?, =, & or ~. It is only the last character that has this
    restriction. See added patch.

    ------------------------------------------------------------------------

    [2009-06-09 21:51:49] rodrigosprimo

    -Status: Open
    +Status: Feedback
    Waiting feedback, as I mentioned in a previously comment I was not able
    to reproduce the bug.

    ------------------------------------------------------------------------

    [2009-06-05 18:59:05] rodrigosprimo

    Hi kristianly, could you give more details on how to reproduce this
    bug? I'll be working on Text_Wiki for the next two months. I tried to
    reproduce the problem with # at the end of an URL by testing it here
    http://www.ce.unipr.it/~tomaiuol/creole_example.php

    I tried to convert MediaWiki syntax
    [http://foo.bar.com/index.html#section1] to Wiki Creole and to XHTML and
    both went well.

    Maybe I'm not understanding the problem because I'm new to Text_Wiki or
    maybe we need more information about it.

    Thanks, Rodrigo.

    ------------------------------------------------------------------------

    [2009-01-24 14:15:43] kristianly

    Description:
    ------------
    Ie: http://foo.bar.com/index.html#section1 ...

    I ran into this problem because my users copy-pasted a link to
    SomePage, also generated by Text_Wiki, which ends with a blank # (ie:
    http://foo.bar.com/index.php?page=MyPage#).

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJan 13, '10 at 1:21p
activeJan 20, '10 at 6:59p
posts3
users2
websitepear.php.net

2 users in discussion

Papercrane: 2 posts Madmax: 1 post

People

Translate

site design / logo © 2022 Grokbase