Using Geolocation API, Pronote may use links ending with /ProNote instead of /pronote
When your code relies on these URLs to apply attributes, it might be the cause of your issue :
When using the cookie injection method to login using ENT, the URL difference between the geolocation API and Pronote redirection might break the authentification flow
This change allows the URL to be directly sent in lowercase, to avoid such issues.
Type of change
Please delete options that are not relevant.
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
Description
Using Geolocation API, Pronote may use links ending with
/ProNote
instead of/pronote
When your code relies on these URLs to apply attributes, it might be the cause of your issue :Type of change
Please delete options that are not relevant.
Checklist: