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

ID: 18343
Updated by: jan@horde.org
Reported By: jan at horde dot org
Summary: Entities in file names decoded during packaging
Status: Open
Type: Bug
Package: PEAR
Package Version: 1.9.2
PHP Version: 5.3.1
Roadmap Versions:
New Comment:

Nice, the bug tracker does the same :-)


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

[2011-03-08 02:11:40] yunosh

Description:
------------
If a filename contains a correctly encoded entity in one of the
package.xml tags, PEAR is decoding it when doing the packaging.

<install
as="Horde/Feed/fixtures/lexicon/http-p.moreover.com-cgi-local-page%2Fo=rss&s=Newsweek"
name="test/Horde/Feed/fixtures/lexicon/http-p.moreover.com-cgi-local-page%2Fo=rss&s=Newsweek"
/>

turns into

<install
as="Horde/Feed/fixtures/lexicon/http-p.moreover.com-cgi-local-page%2Fo=rss&s=Newsweek"
name="test/Horde/Feed/fixtures/lexicon/http-p.moreover.com-cgi-local-page%2Fo=rss&s=Newsweek"
/>

https://github.com/horde/horde/blob/24747aa1ad7c1e37fe15cc36e6dec3a911eeb824/framework/Feed/package.xml
is an example.

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

Search Discussions

  • Helgith at Mar 8, 2011 at 9:34 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18343&edit=1

    ID: 18343
    Updated by: helgith@gmail.com
    Reported By: jan at horde dot org
    Summary: Entities in file names decoded during packaging
    Status: Open
    Type: Bug
    Package: PEAR
    Package Version: 1.9.2
    PHP Version: 5.3.1
    -Assigned To:
    +Assigned To: dufuz
    Roadmap Versions:
    New Comment:

    -Assigned To:
    +Assigned To: dufuz



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

    [2011-03-08 02:12:18] yunosh

    Nice, the bug tracker does the same :-)

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

    [2011-03-08 02:11:40] yunosh

    Description:
    ------------
    If a filename contains a correctly encoded entity in one of the
    package.xml tags, PEAR is decoding it when doing the packaging.

    <install
    as="Horde/Feed/fixtures/lexicon/http-p.moreover.com-cgi-local-page%2Fo=rss&s=Newsweek"
    name="test/Horde/Feed/fixtures/lexicon/http-p.moreover.com-cgi-local-page%2Fo=rss&s=Newsweek"
    />

    turns into

    <install
    as="Horde/Feed/fixtures/lexicon/http-p.moreover.com-cgi-local-page%2Fo=rss&s=Newsweek"
    name="test/Horde/Feed/fixtures/lexicon/http-p.moreover.com-cgi-local-page%2Fo=rss&s=Newsweek"
    />

    https://github.com/horde/horde/blob/24747aa1ad7c1e37fe15cc36e6dec3a911eeb824/framework/Feed/package.xml
    is an example.

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedMar 8, '11 at 1:09a
activeMar 8, '11 at 9:34p
posts2
users2
websitepear.php.net

2 users in discussion

Jan: 1 post Helgith: 1 post

People

Translate

site design / logo © 2022 Grokbase