Menu

#944 Uncaught SyntaxError: missing { before class body" in file index.js:109:12403.

version 3.0.34
closed
None
5
2026-04-09
2025-03-25
No

Actually, I'm running privoxy 3.0.34-3ubuntu2 on Ubuntu 24.04.
While connecting to the Forgejo server version 7.0.13+gitea-1.21.11
I got a persistent error in the console:
Uncaught SyntaxError: missing { before class body" in file index.js:109:12403.
At first the Forgejo team and I investigated their software, as I had no privoxy issues before.
In the end, by disabling the proxy setting in the browser as well as clearing the cache, the error message went away.
You can read all about it here: https://codeberg.org/forgejo/forgejo/issues/7305
I hope this is enough information for you to investigate.
Regards,
Jeroen Baten

Discussion

  • Fabian Keil

    Fabian Keil - 2025-03-25
    • status: open --> pending
    • assigned_to: Fabian Keil
    • Group: version 3.0.32 --> version 3.0.34
     
  • Fabian Keil

    Fabian Keil - 2025-03-25

    Thanks for the report.

    Please reproduce the problem with the debug settings recommended at:
    https://www.privoxy.org/user-manual/contact.html
    and provide a log file.

    I'm wondering if the the index.js file gets delivered with the correct content type and if the server-header-tagger{content-type} is enabled.

     
  • Fabian Keil

    Fabian Keil - 2026-04-09
    • status: pending --> closed
     
  • Fabian Keil

    Fabian Keil - 2026-04-09

    Closing due to lack of information. Please feel free to reopen if you can reproduce the problem with the requested debug settings.

     

Log in to post a comment.

MongoDB Logo MongoDB