Some users are unable to register
Environment info
- Browser, version, OS, platform: Chromium based browsers on Windows (probably)
- Instance URL: https://bae.st
- Frontend version (see settings -> about): 5f8988de
- Backend version (see settings -> about): 2a244b39
- Browser extensions (ublock, rikaichamp etc): adblockers and none
- Known instance/user customizations (i.e. pleromafe mods/forks, instance styles etc): Just some custom themes and custom text
Bug description & reproduction steps
I'm not really sure how to reproduce as I can't reproduce on any of my machines.
However, I've had several emails complaining about it. This morning I had someone email me some console output:
TypeError: c(...).replace is not a function
These when loading:
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”).
Uncaught (in promise) TypeError: t.setLocaleMessage is not a function
e messages.js:45
Babel 5
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data style_setter.js:370:22
a style_setter.js:370
Uncaught (in promise) Object { name: "StatusCodeError", statusCode: 404, message: "404 - {}", error: SyntaxError, options: {…}, response: Response, stack: "" }
TypeError: c(...).replace is not a function
It seems to be a CSP issue. I'm just using the default CSP headers sent by the backend.
Bug seriousness
- How annoying it is: Pretty annoying
- How often does it happen: Hard to say but I'd guess about 50% of signups are affected
- How many people does it affect: So far I've had 5 people reach out to me for support
- Is there a workaround for it: Manually creating accounts for people in the admin-fe works but that's far from an ideal workaround.