php-buildpack icon indicating copy to clipboard operation
php-buildpack copied to clipboard

Version 4.6.27 introduced a newline character in the VERSION file

Open arthfl opened this issue 10 months ago • 0 comments

Release 4.6.27 introduced a newline character here: https://github.com/cloudfoundry/php-buildpack/commit/43628523b0f15a4a97f91fcbc85f82cf78de7863

This breaks https://github.com/cloudfoundry/php-buildpack/blob/master/extensions/dynatrace/extension.py exactly here https://github.com/cloudfoundry/php-buildpack/blob/master/extensions/dynatrace/extension.py#L108 because we put the content of that file in a HTTP header, which doesn't work if there's a \n .

I'm creating this as a bug/issue because the format of the VERSION file has been that way for years and now has suddenly changed.

arthfl avatar Jun 16 '25 11:06 arthfl