php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58058 Setting a value with php_value strips the last character
Submitted: 2008-02-24 20:15 UTC Modified: 2009-03-03 20:31 UTC
From: atomo64 at gmail dot com Assigned: pajoye (profile)
Status: Closed Package: htscanner (PECL)
PHP Version: Irrelevant OS: Linux i686
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: atomo64 at gmail dot com
New email:
PHP Version: OS:

 

 [2008-02-24 20:15 UTC] atomo64 at gmail dot com
Description:
------------
When changing the value of a setting (e.g. session.name) the last character of the line in the .htaccess file is stripped.

Adding a white space after the last character (i.e. 'r' in the example below) workarounds this problem.

Tested under a clean chroot of Debian GNU/Linux i686 sid with php5 5.2.5-3 and htscanner 0.8.1.

Reproduce code:
---------------
php_value session.name foobar

Expected result:
----------------
session.name    foobar

Actual result:
--------------
session.name    fooba

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-03 20:31 UTC] pierre dot php at gmail dot com
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pecl.php.net/get/htscanner


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Nov 15 12:01:34 2019 UTC