Skip to content

Cannot add a blocklist with a URL that contains a space #3364

@Murazaki

Description

@Murazaki

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions