Noticed on user docs, Sphinx search pages throw a number of errors about an uninitialized Search instance. This instance normally comes from the searchtools.js injection. I notice in Firefox that the content type is text/plain and Firefox rejects this as a corrupted file:
Noticed on user docs, Sphinx search pages throw a number of errors about an uninitialized
Search
instance. This instance normally comes from thesearchtools.js
injection. I notice in Firefox that the content type istext/plain
and Firefox rejects this as a corrupted file:This is likely due to the Addons injection here [^1]:
https://github.com/readthedocs/common/blob/b8051be8f8221f5fe448dc81e1f2c7668090a732/dockerfiles/force-readthedocs-addons.js#L232-L238
That shouldn't return a fresh
Response
instance without all of the existing headers from the previous response.[^1]: I'm opening this issue here instead of
common
as that repo is not discoverable.Front conversations