Stefan-Sanger ff07fa5621 fix: parameterize SQL, escape XML, and drop deprecated Buffer
Addresses PERFORMANCE-FINDINGS #3, #7, #8:
- Parameterize GET /groupchats query with $n placeholders and parseInt
  validation to close SQL injection and restore pg prepared-statement cache.
- Fix xmlEscape: use real regexes (& first) instead of no-op string patterns.
- Replace deprecated new Buffer() with Buffer.from() for Basic auth header.

Part-of: <http://gitlab.vnc.biz/uxf/prosody-muc-rest/-/merge_requests/3>
2026-07-10 14:46:44 +02:00
2020-09-09 04:59:41 +02:00
2020-09-09 04:59:41 +02:00
2022-09-04 08:51:55 +02:00
2020-01-09 08:32:17 +01:00
2026-06-03 14:12:36 +02:00
2020-09-09 05:13:23 +02:00
S
Description
Prosody MUC REST API
Readme
146 KiB
Languages
JavaScript 96.9%
Dockerfile 3.1%