Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Silence-Android
Silence-Android
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 269
    • Issues 269
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 11
    • Merge Requests 11
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Silence
  • Silence-AndroidSilence-Android
  • Merge Requests
  • !675

Open
Opened Mar 31, 2018 by Bastien Le Querrec@bastienOwner
  • Report abuse
Report abuse

Fix encoding of plaintext backups

  • Overview 0
  • Commits 17
  • Changes 65

Created by: whiver

Fixes #659 : Rewrite special characters escaping in plaintext backups to avoid having some characters illegally escaped (such as surrogates characters). This PR uses Apache Commons's XML escaping method instead, which correctly handles character encoding, so the part using regex to match characters that needed to be encoded has been removed.

Also force UTF-8 encoding of output file to match the charset specified in it.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: Silence/Silence-Android!675
Source branch: github/fork/whiver/patch/xml_encoding