You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Automatically redirect to IPFS pages via DNSLink when possible is enabled in Settings -> IPFS, I am unable to go back to previously visited IPFS pages using the back button. Clicking the back button just refreshes the current page. My guess is that the non-redirected URL is put into the history stack and going back just causes Brave to redirect the page again.
Steps to Reproduce
Enable IPFS local node
Enable the Automatically redirect to IPFS pages via DNSLink when possible setting
Visit ipfs.io
Click the Help link in the top right corner of the webpage
Click the Back button in Brave. Notice that Brave doesn't go back to the IPFS home page.
Actual result:
Back button does nothing on IPFS pages when DNSLink redirection is enabled.
Expected result:
Back button should work normally on IPFS pages regardless of whether DNSLink redirection is enabled or not.
The relevant code in ipfs_tab_helper.cc by @spylogsster seems to be missing the should_replace_current_entry = true flag to OpenURLParams. As I understand it, that flag should be equivalent to location.replace in JavaScript. So, it should yield the desired behavior here.
Description
When
Automatically redirect to IPFS pages via DNSLink when possible
is enabled in Settings -> IPFS, I am unable to go back to previously visited IPFS pages using the back button. Clicking the back button just refreshes the current page. My guess is that the non-redirected URL is put into the history stack and going back just causes Brave to redirect the page again.Steps to Reproduce
Automatically redirect to IPFS pages via DNSLink when possible
settingipfs.io
Help
link in the top right corner of the webpageActual result:
Back button does nothing on IPFS pages when DNSLink redirection is enabled.
Expected result:
Back button should work normally on IPFS pages regardless of whether DNSLink redirection is enabled or not.
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
The text was updated successfully, but these errors were encountered: