libredirect / browser_extension

A browser extension that redirects popular sites to alternative privacy friendly frontends
https://libredirect.github.io
GNU General Public License v3.0
3.29k stars 122 forks source link

Unwanted forward slash being added to custom Redlib URLs #999

Closed AresUII closed 2 months ago

AresUII commented 2 months ago

Steps to reproduce:

  1. Go to Settings > Services.
  2. Select Service > Reddit.
  3. Under "Add your favorite instances", type exactly "https://lr.eu.psf.lt".

What I wanted to happen: "https://lr.eu.psf.lt" [with no terminal slash] gets added to the list of selected instances

What LibRedirect did: "https://lr.eu.psf.lt/" [with a terminal slash that I did not type] got added instead, as shown: image

The knock-on effect: Redirects go to pages with a double slash, e.g. "https://lr.eu.psf.lt//" for the frontpage; this is incorrect and breaks some other services, like Invidious

ManeraKai commented 2 months ago

Duplicate of https://github.com/libredirect/browser_extension/issues/996

I will release soon.