-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Attempted Debugging
- I have read the debugging page
Searched GitHub Issues
- I have searched GitHub for the issue.
Describe the Scenario
Hello,
I realize this might be difficult to reproduce, but I'm hoping for some pointers to where things might go wrong so I can investigate.
I'm having issues after a recent system/Bookstack update in the last month — the problem is that I didn't notice it right away and I now have no idea of what could have changed. I had been running Bookstack just fine since last year with zero issues, and I haven't touched its configuration since the installation.
Basically, this is a new page with some nice UTF-8 characters:
This is what happens when saving:
This is what happens when clicking "Edit" again:
The body text is apparently saved incorrectly in the database (with different values for the HTML and plain text versions!), but the title itself is OK:
MariaDB [bookstack]> select name, html, text from pages order by pages.created_at desc limit 1;
+-----------+-----------------------------------------------------------------------------+--------------------------+
| name | html | text |
+-----------+-----------------------------------------------------------------------------+--------------------------+
| Æ Œ ★ | <p id="bkmrk-test-hello-%C3%86">Æ Œ â
</p>
<p id="bkmrk-%C2%A0"></p> | à ŠâÂ
|
+-----------+-----------------------------------------------------------------------------+--------------------------+
1 row in set (0.001 sec)
Previous pages that were not modified have correct UTF-8 characters, both in the db and when viewed in the web interface.
Any idea of what's happening and where I could have messed up?
Exact BookStack Version
v23.10.4
Log Content
No response
Hosting Environment
PHP 8.2 on Archlinux, up-to-date at the time of writing
MariaDB 11.2.2-MariaDB, utf8mb4_unicode_ci collation / character set


