? ? Success

User tests: Successful: Unsuccessful:

avatar rdeutz
rdeutz
15 May 2017

Pull Request for Issue #16038

Summary of Changes

Added more status to the responseMap and tried to get the best value for a code. Status should now a Valid HTTP 1.1 Status line as per https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html

Testing Instructions

Test different situations and check if the status is a valid status according to the document listet above.

Before Patch

Not valid status codes

After Patch

Valid status codes

Documentation Changes Required

None

Note: I had to change the unit test because they are testing wrong behaviour

avatar rdeutz rdeutz - open - 15 May 2017
avatar rdeutz rdeutz - change - 15 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 May 2017
Category Libraries Unit Tests
avatar rdeutz rdeutz - change - 15 May 2017
The description was changed
avatar rdeutz rdeutz - edited - 15 May 2017
avatar brianteeman
brianteeman - comment - 15 May 2017

Can you order the status codes numerically please

avatar rdeutz rdeutz - change - 15 May 2017
Labels Added: ? ?
avatar rdeutz
rdeutz - comment - 15 May 2017
avatar wilsonge
wilsonge - comment - 15 May 2017

The redirect function needs to now check if this is a 3xx status code (the original point of the $responseMap class variable` rather than just checking if it is a key of that variable)

avatar rdeutz
rdeutz - comment - 15 May 2017

@wilsonge better?

avatar wilsonge
wilsonge - comment - 15 May 2017

Looks good to me :)

avatar brianteeman
brianteeman - comment - 30 Jul 2017

@rdeutz can you resolve the conflicts please

avatar rdeutz rdeutz - change - 5 Aug 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-08-05 05:20:19
Closed_By rdeutz
avatar rdeutz rdeutz - close - 5 Aug 2017
avatar rdeutz rdeutz - merge - 5 Aug 2017
avatar rdeutz
rdeutz - comment - 5 Aug 2017

fix and merged, @mbabker can you double check. Was a bit tricky to fix a conflict for a moved file.

Add a Comment

Login with GitHub to post a comment