? Pending

User tests: Successful: Unsuccessful:

avatar joeforjoomla
joeforjoomla
27 May 2017

Summary of Changes

The InstallerHelper class must be updated to evaluate correctly header values based on the new processHeaders function contained in the class \Joomla\Http\AbstractTransport

Expected result

Header value evaluated correctly in:
$response->headers['Content-Disposition']

Actual result

The header value is assigned to an array thus requiring:
$response->headers['Content-Disposition'][0]
to access it.

avatar joeforjoomla joeforjoomla - open - 27 May 2017
avatar joeforjoomla joeforjoomla - change - 27 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 May 2017
Category Libraries
avatar brianteeman brianteeman - change - 27 May 2017
Title
Update and fix InstallerHelper accordingly to processHeaders
[4.0]Update and fix InstallerHelper accordingly to processHeaders
avatar brianteeman brianteeman - edited - 27 May 2017
avatar brianteeman
brianteeman - comment - 27 May 2017

(Updated title to show 4..0)

avatar wilsonge wilsonge - change - 27 May 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-27 20:00:14
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 27 May 2017
avatar wilsonge wilsonge - merge - 27 May 2017
avatar wilsonge
wilsonge - comment - 27 May 2017

Nice catch. Thankyou!

avatar mbabker
mbabker - comment - 27 May 2017

In general this will need to be updated for 4.0 since we switched from using our custom response object to following the PSR-7 ResponseInterface (which defines the headers array in a way that supports headers with multiple values). Minor annoyance, but better API.

avatar joeforjoomla
joeforjoomla - comment - 27 May 2017

Good job guys!

Add a Comment

Login with GitHub to post a comment