Closed (fixed)
Project:
Salesforce Suite
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Jan 2019 at 21:21 UTC
Updated:
25 Jan 2019 at 15:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
acrosmanPatch removing is_numeric just checks existence.
Comment #3
acrosmanComment #5
aaronbaumanThanks for the patch!
Comment #6
armyguyinfl commentedI came across the same issue today on the newer instances of Salesforce.
The input would now only allow numeric values but now with the provided patch the values could still be invalid inputs.
I think the following patch is a better solution to allow legacy consumer secret keys and the new generated consumer keys by Salesforce
Comment #7
armyguyinfl commentedComment #8
aaronbaumanI can't find anything from Salesforce that spells out what a valid consumer key looks like, so it doesn't seem worth trying to guess at all the possibilities.
If you can find some docs from Salesforce that spec out the validation criteria, then we can implement some more robust validation.
Otherwise I think it's best to just make sure it's not empty.