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

  ID: 18343
  Updated by: cweiske@php.net
  Reported By: jan@horde.org
  Summary: Entities in file names decoded during packaging
  Status: Assigned
  Type: Bug
  Package: PEAR
  Package Version: 1.9.2
  PHP Version: 5.3.1
  Assigned To: dufuz
-Roadmap Versions:
+Roadmap Versions: 1.9.5
  New Comment:

-Roadmap Versions:
+Roadmap Versions: 1.9.5



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

[2011-03-08 22:37:22] dufuz

-Assigned To:
+Assigned To: dufuz


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

[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.

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedMay 29, '14 at 7:14p
activeMay 29, '14 at 7:14p
posts1
users1
websitepear.php.net

1 user in discussion

Cweiske: 1 post

People

Translate

site design / logo © 2022 Grokbase