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

eap-config file Terms of Use lose newlines #218

Open
1 of 4 tasks
restena-sw opened this issue Apr 7, 2021 · 0 comments
Open
1 of 4 tasks

eap-config file Terms of Use lose newlines #218

restena-sw opened this issue Apr 7, 2021 · 0 comments
Assignees

Comments

@restena-sw
Copy link
Contributor

Issue type

  • Defect - Crash/memory corruption.
  • Defect - Non-compliance with a standards document or incorrect OS API usage.
  • Defect - Unexpected behaviour (obvious or has been verified by a project member).
  • New feature request.

Defect/Feature description

The eap-config module produces XML (which ignores simple whitespace such as newline). The CAT admin interface invites admins to upload their Terms of Use as simple UTF-8 encoded text, where newlines do have significance.

By copying the ToU contents verbatim into the element, all formatting using whitespace and newlines is lost, and consumers of the file rightly flatten the content into one long unformatted string.

How to reproduce issue

Download an eap-config file with TermsOfUse populated, consume with geteduroam.

Detail of issue

XML content that is whitespace-sensitive should use the markup element "CDATA" (see https://en.wikipedia.org/wiki/CDATA )

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

No branches or pull requests

3 participants