Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWiki.js breaks and displays blank page when cookies are denied #1538
Comments
|
A cursory look at the source suggests that you're assuming the |
|
The issue appears to be cookie-adjacent and not actually a cookie. By disabling cookies you are also disallowing access to local storage. At least one of the dependencies here (namely I wouldn't categorize this as a code issue in this project. |
|
Most likely an issue with the localstorage indeed. A bug nonetheless... |
Using Firefox 73, setting the browser to deny all cookies breaks Wiki.js v2.1.x and a blank page is displayed to the user.
Another user reported the same issue in Chrome when that browser is set to deny all cookies.
I reproduced the issue in Vivaldi by setting the browser to deny all cookies. I could not reproduce the issue in Vivaldi when using uMatrix to block cookies, however. In that case, the browser may be accepting the cookie, which is good enough for Wiki.js, but the extension intercepts and discards it.
Wiki.js should not require a cookie for unauthenticated guest users.