Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

date format sanifications #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

falco76
Copy link

@falco76 falco76 commented Nov 6, 2024

this line remove double spaces to avoid bad field classification "Oct 1" is different from "Oct 1" this code avoid skip some access

this line remove double spaces to avoid bad field classification
"Oct  1" is different from "Oct 1" this code avoid skip some access
@falco76
Copy link
Author

falco76 commented Nov 6, 2024

Array
(
[0] => Jan
[1] =>
[2] => 1
[3] => 08:31:09
[4] => minosse
[5] => simplesamlphp[xxxz]:
[6] => 5
[7] => STAT
[8] => [xyzxxzxxz]
[9] => saml20-idp-SSO
[10] => https://moodle2.unime.it
[11] => https://minosse.unime.it/simplesaml/saml2/idp/metadata.php
....
)

field 1 is a double space in the date first January and fail control on 'if ($array[8] == 'saml20-idp-SSO)'
probably in some cases in SSP log formats a fixed length is used

other details on https://simplesamlphp.org/docs/contrib_modules/statistics/statistics.html

this patch make optional install or use a SSP Instance

now it's possible use a SSP Installation or (if not properly configurated) use a custom value for version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant