Closed (fixed)
Project:
SAML Authentication
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
29 Jun 2019 at 16:25 UTC
Updated:
12 May 2020 at 19:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
moshe weitzman commentedWoops - wrong line
Comment #3
moshe weitzman commentedComment #4
piggito commentedLGTM to validate constant to be not defined before setting value.
Ideally onelogin/php-saml should provide a setting parameter for cert folders but right now constant is the only way as explained at https://github.com/onelogin/php-saml/issues/231#issuecomment-312939684
Therefore IMO this is RTBC.
Comment #5
roderikThanks! About time this got committed.
This is not exactly the right way if we want to keep the exact same behavior though. We don't want to enter the "else" condition and set variables that were otherwise not set, if the constant happens to be defined already.
I'm committing this: