Settings——General——Site Settings——Set Title
If you set title with special characters such as \b, NodeBB will crash.
Home page:
Admin Panel:
Settings——General——Site Settings——Set Title
If you set title with special characters such as \b, NodeBB will crash.
Home page:
Admin Panel:
Hey guys,
I have encountered some weird issues.
NodeBB Version: 1.4.5 (then upgraded to 1.4.6)
Theme: Persona
Issue: Can't purge posts.
Delete:
Purge:
Restore:
No errors or warnings in ./nodebb log
What I have tried but failed:
What I have tried but just a workaround:
I found this reply
Another issue with Persona theme:
Another bug found when writing this post:
My suggestion:
Separate theme and plugin pages.
ACP -> Customize -> Themes -> Install
ACP -> Customize -> Themes -> Uninstall
ACP -> Customize -> Themes -> Preview
ACP -> Customize -> Themes -> Apply Theme
Real preview without rebooting or waiting for over 5 seconds/theme.
Provide filters(style, color, etc)
It would be nice if we can preview themes in advance.
How to reproduce:
In homepage, there is a piece of javascript :
<script>
var RELATIVE_PATH = "";
var config = JSON.parse('{"relative_path":"","version":"1.4.5","siteTitle":"NodeBB","browserTitle":"NodeBB","titleLayout":"{pageTitle} JSON.parse('{"username":"xxxx","userslug":"xxxx","email":"\[email protected]", ...
};
</script>
\b won't pass json validator and will cause unexpected behaviors.
See also:
https://community.nodebb.org/topic/10524/bug-report-json-parse-error
Settings——General——Site Settings——Set Title
If you set title with special characters such as \b, NodeBB will crash.
Home page:
Admin Panel:
/opt/nodebb/node_modules/mongodb/lib/utils.js:98
process.nextTick(function() { throw err; });
^
TypeError: invalid data
at WriteStream.Socket.write (net.js:617:11)
at /opt/nodebb/src/reset.js:57:19
at /opt/nodebb/src/database/mongo.js:108:6
at /opt/nodebb/node_modules/mongodb/lib/db.js:1553:5
at handleCallback (/opt/nodebb/node_modules/mongodb/lib/utils.js:95:56)
at _callback (/opt/nodebb/node_modules/mongodb/lib/db.js:1469:5)
at /opt/nodebb/node_modules/mongodb/lib/db.js:1512:7
at /opt/nodebb/node_modules/mongodb-core/lib/connection/pool.js:724:7
at /opt/nodebb/node_modules/mongodb-core/lib/connection/pool.js:702:11
at finish (/opt/nodebb/node_modules/mongodb-core/lib/auth/scram.js:160:16)
Hello,
I know NodeBB itself doesn't handle any https stuff, so the url we set in nginx is http://www.example.com:4567 rather than https://www.example.com:xxxx
Here is the problem: Any image url starts with http will break https , but I want my green lock
back.
Will NodeBB add https support in core?
Cheers
Andy