skyjake / lagrange

A Beautiful Gemini Client
https://gmi.skyjake.fi/lagrange/
BSD 2-Clause "Simplified" License
1.22k stars 65 forks source link

Bug in Titan: sends an empty request on startup #671

Closed bleonard252 closed 2 months ago

bleonard252 commented 5 months ago

On occasion (after crashing?), if the current tab is set to a Titan URI, on startup it may send an empty request to that Titan URI, with no token and no body, which causes the receiving server to delete or empty the file it was previously looking at.

skyjake commented 5 months ago

The correct behavior here would be that tabs with a Titan URI are never restored (reloaded) at launch, because they are upload operations.

A similar issue can occur when navigating back and forward in history.