This repository was archived by the owner on Sep 2, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 47
This repository was archived by the owner on Sep 2, 2024. It is now read-only.
Not applying XML escape #444
Copy link
Copy link
Open
Labels
Description
Prerequisites
- I have searched the Issues list for open and closed issues and believe this is a unique, currently unreported bug.
Describe the bug
A clear and concise description of what the bug is.
When exporting/importing the playlist, Vocal doesn't escape special symbols for XML files. Due to that problem, when importing, the interface will be blank (although from stdout there will be some output for all podcasts).
Then if restart vocal, other podcasts are fine, whereas the one with a problematic URL shows a exclaimer cover. Click it, vocal wil crash.
To Reproduce
Steps to reproduce the behavior:
- Add an url with
&or other symbols. - Export the playlist.
- Import the playlist.
- Restart Vocal.
- Click on the cover with a problematic URL.
Expected behavior
' is replaced with '
" is replaced with "
& is replaced with &
< is replaced with <
> is replaced with >
Screenshots or screen recordings
Logs
**** parser error : EntityRef: expecting ';'
/****/5bc8e707-4ea8-4969-b6c3-ab6400a58a21&type
^
[INFO 22:46:22.844786] Library.vala:203: Error parsing OPML file.
Platform Information
Please share as many of the following details as possible:
- Linux distrubution: Manjaro
- OS version: 19.0.2
- Desktop environment: GNOME
Please check the applicable option below:
- I'm using the latest version from git that I've manually compiled
- I'm using the latest version of the Flatpak, downloaded from Flathub.org
- I'm using the latest version available from AppCenter
- I'm using a different version (please note here) : From Arch's official repo.
Additional context
Reactions are currently unavailable