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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 11:01:28 2024 UTC