nextcloud/apps
Daniel Calviño Sánchez 8a25e2dbcb Fix HTML entities not decoded in comment just added
The XML data received from the comments endpoint has an inconsistent
encoding; some entities are encoded once and others are encoded twice.
When the comment list is loaded the comments are fetched using
GetComments, which handles all that, and therefore shows the messages
and author names as expected.

However, when a new comment is posted the list is not got again; instead
the new comment is loaded from the comment data returned after posting
it. This is done in NewComment, which did not decode the messages nor
the author names, and therefore showed, for example, "&" instead of
"&".

To solve that now the same decoding logic used in GetComments is applied
too in NewComment.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-11-24 01:19:05 +00:00
..
admin_audit [tx-robot] updated from transifex 2022-11-05 02:15:14 +00:00
cloud_federation_api [tx-robot] updated from transifex 2022-11-05 02:15:14 +00:00
comments Fix HTML entities not decoded in comment just added 2022-11-24 01:19:05 +00:00
contactsinteraction [tx-robot] updated from transifex 2022-11-05 02:15:14 +00:00
dashboard [tx-robot] updated from transifex 2022-11-23 02:18:19 +00:00
dav [tx-robot] updated from transifex 2022-11-23 02:18:19 +00:00
encryption [tx-robot] updated from transifex 2022-11-08 02:14:25 +00:00
federatedfilesharing Merge pull request #34928 from nextcloud/backport/34868/stable25 2022-11-23 10:21:20 +01:00
federation [tx-robot] updated from transifex 2022-11-05 02:15:14 +00:00
files Merge pull request #35340 from nextcloud/backport/35299/stable25 2022-11-23 12:51:45 +01:00
files_external [tx-robot] updated from transifex 2022-11-23 02:18:19 +00:00
files_sharing [tx-robot] updated from transifex 2022-11-23 02:18:19 +00:00
files_trashbin [tx-robot] updated from transifex 2022-11-23 02:18:19 +00:00
files_versions Merge pull request #35327 from nextcloud/backport/34528/stable25 2022-11-23 10:43:56 +01:00
lookup_server_connector [tx-robot] updated from transifex 2022-11-05 02:15:14 +00:00
oauth2 Fix missing native submit type from OAuth client add button 2022-11-17 17:33:52 +00:00
provisioning_api [tx-robot] updated from transifex 2022-11-23 02:18:19 +00:00
settings Merge pull request #34928 from nextcloud/backport/34868/stable25 2022-11-23 10:21:20 +01:00
sharebymail Merge pull request #34928 from nextcloud/backport/34868/stable25 2022-11-23 10:21:20 +01:00
systemtags [tx-robot] updated from transifex 2022-11-23 02:18:19 +00:00
testing Rebuild autoloader 2022-09-20 10:33:26 +02:00
theming Merge pull request #35346 from nextcloud/backport/35315/stable25 2022-11-23 10:46:34 +01:00
twofactor_backupcodes [tx-robot] updated from transifex 2022-11-05 02:15:14 +00:00
updatenotification [tx-robot] updated from transifex 2022-11-23 02:18:19 +00:00
user_ldap [tx-robot] updated from transifex 2022-11-23 02:18:19 +00:00
user_status [tx-robot] updated from transifex 2022-11-23 02:18:19 +00:00
weather_status [tx-robot] updated from transifex 2022-11-23 02:18:19 +00:00
workflowengine [tx-robot] updated from transifex 2022-11-23 02:18:19 +00:00