? ? Pending

User tests: Successful: Unsuccessful:

avatar rjharishabh
rjharishabh
29 Oct 2021

Summary of Changes

This PR updates the get parameter for setting Access-Control-Allow-Headers

Similar to PR #35893

Testing Instructions

Code review

name cors_allow_headers in XML

<field
	name="cors_allow_headers"
	type="text"
	label="Access-Control-Allow-Headers"
	description="COM_CONFIG_FIELD_WEBSERVICES_CORS_ALLOW_HEADERS_DESC"
	translate_label="false"
	default="Content-Type,X-Joomla-Token"
	showon="cors:1"
/>

Get parameter is cors_allowed_headers

@alikon

avatar rjharishabh rjharishabh - open - 29 Oct 2021
avatar rjharishabh rjharishabh - change - 29 Oct 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 Oct 2021
Category Libraries
avatar brianteeman
brianteeman - comment - 29 Oct 2021

This needs more than a simple code review comment.

I'm not saying the change is right or wrong but as the code was tested and working when it was first submitted and merged...

avatar rjharishabh rjharishabh - change - 30 Oct 2021
The description was changed
avatar rjharishabh rjharishabh - edited - 30 Oct 2021
avatar rjharishabh rjharishabh - change - 30 Oct 2021
The description was changed
avatar rjharishabh rjharishabh - edited - 30 Oct 2021
avatar alikon
alikon - comment - 2 Nov 2021

good catch

has not been discovered yet cause of default Content-Type,X-Joomla-Token

avatar alikon alikon - test_item - 2 Nov 2021 - Tested successfully
avatar alikon
alikon - comment - 2 Nov 2021

I have tested this item successfully on bfa9f74


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35935.

avatar Quy Quy - test_item - 4 Nov 2021 - Tested successfully
avatar Quy
Quy - comment - 4 Nov 2021

I have tested this item successfully on bfa9f74


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35935.

avatar Quy Quy - change - 4 Nov 2021
Status Pending Ready to Commit
Labels Added: ?
avatar Quy
Quy - comment - 4 Nov 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35935.

avatar bembelimen bembelimen - close - 7 Nov 2021
avatar bembelimen bembelimen - merge - 7 Nov 2021
avatar bembelimen bembelimen - change - 7 Nov 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-11-07 02:36:20
Closed_By bembelimen
Labels Added: ?
avatar bembelimen
bembelimen - comment - 7 Nov 2021

Thx

avatar rjharishabh
rjharishabh - comment - 7 Nov 2021

Thanks

Add a Comment

Login with GitHub to post a comment