web icon indicating copy to clipboard operation
web copied to clipboard

Cannot add a blocklist with a URL that contains a space

Open Murazaki opened this issue 8 months ago • 4 comments

Versions

Docker Tag : 2025.03.0 Core : v6.0.5 Web interface : v6.0.2

Platform

  • OS and version: Debian 12
  • Platform: PC, AMD Ryzen 5 1600

Expected behavior

When inputting a URL that contains a space, get a list added with that same URL.

Actual behavior / bug

The URL gets chopped around the space character. If we try to escape the space character with a %20, it gets urlencoded to %2520.

Steps to reproduce

Steps to reproduce the behavior:

  1. Go to 'List'
  2. Type a URL with a space in the list input
  3. Click add blocklist/allowlist
  4. See your URL not being inputted properly (if using %20, check result of content of url)

Murazaki avatar Mar 31 '25 14:03 Murazaki

Can you give an example please. I can add %20 without issues

Image

yubiuser avatar Mar 31 '25 14:03 yubiuser

if you click on the link, it will give you : www.test.com/sdfs%2520sasdad

Murazaki avatar Mar 31 '25 17:03 Murazaki

Confirmed

yubiuser avatar Mar 31 '25 17:03 yubiuser

This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.

github-actions[bot] avatar May 01 '25 08:05 github-actions[bot]