File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ jobs:
347347
348348 # START Other Tests Job (SQLite 3 and mssql)
349349 other-tests :
350- runs-on : ubuntu-22.04
350+ runs-on : ubuntu-20.04 # TODO: Change back to 'ubuntu- 22.04' when https://github.com/microsoft/mssql-docker/issues/899 resolved.
351351 strategy :
352352 matrix :
353353 include :
Original file line number Diff line number Diff line change @@ -105,9 +105,10 @@ public function notification(): JsonResponse
105105
106106 $ notification_data = $ this ->get_user_notifications ();
107107
108- // Decode and return data if everything is fine
108+ // Decode and return data if everything is fine; update url paths and decode message emoji
109109 $ data = json_decode ($ notification_data , true );
110110 $ data ['url ' ] = isset ($ data ['url ' ]) ? $ this ->path_helper ->update_web_root_path ($ data ['url ' ]) : '' ;
111+ $ data ['text ' ] = isset ($ data ['text ' ]) ? html_entity_decode ($ data ['text ' ], ENT_NOQUOTES , 'UTF-8 ' ) : '' ;
111112
112113 return new JsonResponse ($ data );
113114 }
You can’t perform that action at this time.
0 commit comments