-
-
Notifications
You must be signed in to change notification settings - Fork 49
Not applying XML escape #444
Comments
I think it would be enough to only escape the |
Well I think |
I find that it may not be a good idea to do substitution. A better way is to use the CDATA. e.g.
It makes the content more readable and requires no postpreocessing outside the XML world. Also, it's valid for CJK languages. |
I just pushed a fix for this to one of my branches, will probably create a Pull request in a few days. |
Thats fantastic. It works. However on your branch, any import will cause crashing right after Vocal said:
Core dump:
|
That happens on the master branch of the Project as well(when it tries to update the feeds). Should be fixed by this commit, which is on a different branch because I had already opened the PR right after fixing that(didn't really plan to do that many commits/bug fixes back then). Maybe I should just close PR #437 and #439 and apply the commits to the other branch and then do a PR with all the fixes. |
Prerequisites
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:
&
or other symbols.Expected behavior
Screenshots or screen recordings
Logs
Platform Information
Please share as many of the following details as possible:
Please check the applicable option below:
Additional context
The text was updated successfully, but these errors were encountered: