nextcloud/apps
Daniel Calviño Sánchez 5442f8efd6 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-10 13:50:52 +01:00
..
admin_audit [tx-robot] updated from transifex 2022-10-30 02:13:45 +00:00
cloud_federation_api [tx-robot] updated from transifex 2022-10-07 02:14:13 +00:00
comments Fix HTML entities not decoded in comment just added 2022-11-10 13:50:52 +01:00
contactsinteraction [tx-robot] updated from transifex 2022-11-03 02:14:09 +00:00
dashboard [tx-robot] updated from transifex 2022-10-30 02:13:45 +00:00
dav Fix duplicate event email notifications 2022-11-04 16:24:57 +01:00
encryption [tx-robot] updated from transifex 2022-11-08 02:14:18 +00:00
federatedfilesharing [tx-robot] updated from transifex 2022-11-05 02:15:04 +00:00
federation [tx-robot] updated from transifex 2022-10-05 02:14:14 +00:00
files Cast to int #32837 2022-11-07 16:44:47 +01:00
files_external [tx-robot] updated from transifex 2022-11-05 02:15:04 +00:00
files_sharing [tx-robot] updated from transifex 2022-11-07 02:14:09 +00:00
files_trashbin [tx-robot] updated from transifex 2022-11-05 02:15:04 +00:00
files_versions [tx-robot] updated from transifex 2022-10-11 02:14:40 +00:00
lookup_server_connector [tx-robot] updated from transifex 2022-11-03 02:14:09 +00:00
oauth2 Master is now 26 2022-09-22 11:56:15 +02:00
provisioning_api [tx-robot] updated from transifex 2022-11-05 02:15:04 +00:00
settings [tx-robot] updated from transifex 2022-11-08 02:14:18 +00:00
sharebymail Update @nextcloud/dialogs@ and fix toasts styling 2022-11-02 16:31:52 +01:00
systemtags [tx-robot] updated from transifex 2022-10-20 02:18:39 +00:00
testing Master is now 26 2022-09-22 11:56:15 +02:00
theming fix checkmark for theme settings in dark mode 2022-11-08 14:28:17 +01:00
twofactor_backupcodes [tx-robot] updated from transifex 2022-10-24 02:14:59 +00:00
updatenotification [tx-robot] updated from transifex 2022-10-27 02:14:02 +00:00
user_ldap Merge pull request #34702 from nextcloud/fix/clean-ldap-wizard-typing 2022-11-04 17:29:30 +01:00
user_status [tx-robot] updated from transifex 2022-11-05 02:15:04 +00:00
weather_status [tx-robot] updated from transifex 2022-11-01 02:14:18 +00:00
workflowengine [tx-robot] updated from transifex 2022-10-21 02:14:44 +00:00