- Edited
I notice both Orion Version 0.99.126.4.1-beta (WebKit 618.1.2) and Orion RC Version 0.99.126.4.1.1-rc (WebKit 618.1.7) as well as previous versions cannot handle filename declared in Content-Disposition header when downloading news from NZBHydra.
To replicate I created a Flask server to serve file download:
from flask import Flask, make_response
app = Flask(__name__)
@app.route('/getnzb/user/8131442528953639797')
def custom_header():
content = 'Your response content here'
response = make_response(content)
response.headers['Content-Type'] = 'application/x-nzb;charset=UTF-8'
response.headers['Content-Disposition'] = 'attachment; filename="testtesttesttesttest.nzb"'
response.headers['Cache-Control'] = 'no-cache, no-store, max-age=0, must-revalidate'
response.headers['Content-Length'] = str(len(content))
return response
if __name__ == '__main__':
app.run(debug=True)
Both Orion & Orion RC handle the filename wrongly.
While Safari handles the filename correctly
It should work with Safari 17.2+: https://caniuse.com/?search=content-disposition
Orion RC Version 0.99.126.4.1.1-rc (WebKit 618.1.7)
Ventura (13)