Skip to content

Final URL render improperly in url-skippable strict-block page #703

Description

@Coxxs

Prerequisites

  • I verified that this is not a filter list issue. Report any issues with filter lists or broken website functionality in the uAssets issue tracker.
  • This is NOT a YouTube, Facebook or Twitch report. These sites MUST be reported by clicking their respective links.
  • This is not a support issue or a question. For support, questions, or help, visit /r/uBlockOrigin.
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
  • The issue is not present after disabling uBO in the browser.
  • I checked the documentation to understand that the issue I am reporting is not normal behavior.

I tried to reproduce the issue when...

  • uBO is the only extension.
  • uBO uses default lists and settings.
  • using a new, unmodified browser profile.

Description

On the "blocked page wants to redirect" prompt, the destination URL is rendered incorrectly when its hostname has uppercase letters.
This issue exist in both uBlock Origin & uBlock Origin Lite.
Proposed fix: https://github.com/Coxxs/uBlock/commit/485da5039cac0be2947ccad951323fd0cd1afc1a

A specific URL where the issue occurs.

https://test.r.us-east-1.awstrack.me/L0/http:%2F%2Fwww.Example.com

Steps to Reproduce

  1. Open https://test.r.us-east-1.awstrack.me/L0/http:%2F%2Fwww.Example.com
  2. uBlock Origin / uBlock Origin Lite will block this page
  3. The URL displayed is wrong:
Image

Expected behavior

URL should display correctly.

Troubleshooting information

uBlock Origin: 1.71.0
Firefox: 152
filterset (summary):
 network: 160644
 cosmetic: 43000
 scriptlet: 33375
 html: 3607
listset (total-discarded, last-updated):
 default:
  user-filters: 0-0, never
  ublock-filters: 52345-74, 31m
  ublock-badware: 10384-28, 31m
  ublock-privacy: 4040-13, 25m Δ
  ublock-unbreak: 2831-17, 31m
  ublock-quick-fixes: 448-13, 31m
  easylist: 88818-134, 31m
  easyprivacy: 55839-1, 25m Δ
  urlhaus-1: 23860-11, 31m
  plowe-0: 3504-1023, 31m
filterset (user): [empty]
userSettings: [none]
hiddenSettings: [none]
supportStats:
 allReadyAfter: 367 ms (selfie)
 maxAssetCacheWait: 179 ms
 cacheBackend: indexedDB

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions