Skip to content

Downgrade strictness on Persister parser - #175

Merged
SanderVeer merged 2 commits into
mainfrom
downgrade_perser_strictness
Jul 24, 2026
Merged

Downgrade strictness on Persister parser#175
SanderVeer merged 2 commits into
mainfrom
downgrade_perser_strictness

Conversation

@SanderVeer

Copy link
Copy Markdown
Collaborator

Downgrades Persister strictness to handle situations where the .eap-config contains high level fields we do not need. Other parts of parsing were already set to non-strict.

Based on Fingerprint requirement in geteduroam/windows-app#70 - Checked with Surf, app does not require this fingerprint field now or in the future.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR relaxes XML parsing strictness in AndroidConfigParser so the app can accept .eap-config files that contain additional high-level fields the Android app does not consume (e.g., the Fingerprint field referenced in the linked Windows-app requirement).

Changes:

  • Make Simple XML Persister.read(...) non-strict (strict = false) when parsing EAPIdentityProviderList from the .eap-config payload.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread android/app/src/main/java/app/eduroam/geteduroam/config/AndroidConfigParser.kt Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@SanderVeer
SanderVeer merged commit fdabec3 into main Jul 24, 2026
1 check passed
@SanderVeer
SanderVeer deleted the downgrade_perser_strictness branch July 24, 2026 07:45
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.

2 participants