Server injects bootstrapping code for (potentially) all clients #412

Closed
opened 2026-02-06 19:40:46 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @sparky8251 on GitHub (Feb 13, 2019).

Describe the bug
Server injects bootstrapping code for all web based clients (and potentially all) upon request of the index.html.
It also manipulates plugins to stop their scripts from loading until a specific time among other questionable activities.

Can find the relevant code in this file at these lines (though it only points to the bootstrapping code injection).

To Reproduce

  1. Comment out the above code block
  2. Try to browse to web UI
  3. See completely black page greet you.

Expected behavior
Expected behavior is that a client (especially the web ui or android/cordova app) can bootstrap itself

System (please complete the following information):

  • OS: All
  • Browser: All
  • Jellyfin Version: All

Additional context
Allowing the clients to properly bootstrap themselves will make it easier to break out the web UI from the server and allow hosting it behind nginx and the like WITHOUT relying on a JF server to still be serving up its own web UI.

Originally created by @sparky8251 on GitHub (Feb 13, 2019). **Describe the bug** Server injects bootstrapping code for all web based clients (and potentially all) upon request of the `index.html`. It also manipulates plugins to stop their scripts from loading until a specific time among other questionable activities. [Can find the relevant code in this file at these lines (though it only points to the bootstrapping code injection)](https://github.com/jellyfin/jellyfin/blob/eb4b7051676b7493a57a99a821d5dd38bd9d4919/MediaBrowser.WebDashboard/Api/PackageCreator.cs#L171-L176). **To Reproduce** 1. Comment out the above code block 2. Try to browse to web UI 3. See completely black page greet you. **Expected behavior** Expected behavior is that a client (especially the web ui or android/cordova app) can bootstrap itself **System (please complete the following information):** - OS: All - Browser: All - Jellyfin Version: All **Additional context** Allowing the clients to properly bootstrap themselves will make it easier to break out the web UI from the server and allow hosting it behind nginx and the like WITHOUT relying on a JF server to still be serving up its own web UI.
OVERLORD added the bugstale labels 2026-02-06 19:40:46 +03:00
Author
Owner

@stale[bot] commented on GitHub (Jul 30, 2019):

Issues go stale after 60d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 7d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on Matrix or Social Media.

@stale[bot] commented on GitHub (Jul 30, 2019): Issues go stale after 60d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 7d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on [Matrix or Social Media](https://jellyfin.readthedocs.io/en/latest/getting-help/).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#412