ovity / octotree

GitHub on steroids
https://www.octotree.io/
GNU Affero General Public License v3.0
22.8k stars 1.79k forks source link

Octotree breaks page when opening direct links to files on Safari #1138

Closed tallpants closed 2 years ago

tallpants commented 2 years ago

Description

When using Safari, opening a direct link to a file on GitHub (example: https://github.com/ovity/octotree/blob/master/libs/ondemand/jquery.pjax.js) breaks the page. This is when using Octotree pro.

This seems to only happen for JS and JSON files -- interestingly YAML files are downloaded and not opened. All of this behavior occurs only when Octotree is enabled.

Navigating to the file using Octotree: image

Opening the link directly: image

I have not tested if this is happening on other browsers.

Environment (if bug)

tallpants commented 2 years ago

Worth adding -- this seems to be an issue with JS / JSON files in Chrome as well, but appears as an HTTP 406 when opening JS / JSON files:

image

Opening YAML files gives an ERR_INVALID_RESPONSE -- other files still open correctly.

tallpants commented 2 years ago

This appears to be an issue with GitHub itself -- closing.