Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wwwapps.ups.com is blocked by uBlock Origin Lite #3

Closed
6 tasks done
eladts opened this issue Sep 28, 2022 · 7 comments
Closed
6 tasks done

wwwapps.ups.com is blocked by uBlock Origin Lite #3

eladts opened this issue Sep 28, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@eladts
Copy link

eladts commented Sep 28, 2022

Prerequisites

I tried to reproduce the issue when...

  • uBO is the only extension
  • uBO with default lists/settings
  • using a new, unmodified browser profile

URL(s) where the issue occurs

wwwapps.ups.com

Describe the issue

uBlock Origin Lite completely blocks access to the UPS package tracking site.

Screenshot(s)

image

uBlock Origin version

0.1.22.9205

Browser name and version

Chrome 105.0.5195.112

Settings

none

Notes

No response

@gwarser gwarser added the bug Something isn't working label Sep 28, 2022
@gwarser
Copy link

gwarser commented Sep 28, 2022

Select a region -> select "Tracking" on top -> select "Track a Package".

image
?

@okiehsch
Copy link

Yes, I can reproduce using uBO-lite, I have no way of fixing it with a filter, so I will transfer it to uBlock-issues

@okiehsch okiehsch transferred this issue from uBlockOrigin/uAssets Sep 28, 2022
@gorhill
Copy link
Member

gorhill commented Sep 28, 2022

Please try with the latest release, now available in the Chrome Web Store, I cannot reproduce on my side, and the only rule I can find which matches but which won't block wwwapps.ups.com:

{
  "action": {
    "type": "block"
  },
  "condition": {
    "excludedInitiatorDomains": [
      "wwwapps.ups.com"
    ],
    "excludedResourceTypes": [
      "sub_frame"
    ],
    "isUrlFilterCaseSensitive": false,
    "urlFilter": "/webtracking/"
  },
  "id":12109
}

So probably an EasyPrivacy filter which was fixed recently.

@gorhill
Copy link
Member

gorhill commented Sep 28, 2022

Weird, I tried with version 0.1.22.9205 and I still can't reproduce. I also tried with U.S. IP address and can't reproduce either.

@gorhill
Copy link
Member

gorhill commented Sep 28, 2022

Select a region -> select "Tracking" on top -> select "Track a Package"

Ok, now I just see this, I can reproduce with these steps.

@gorhill
Copy link
Member

gorhill commented Sep 28, 2022

Ok, the API documentation says:

excludedResourceTypes

List of resource types which the rule won't match. Only one of resourceTypes and excludedResourceTypes should be specified. If neither of them is specified, all resource types except "main_frame" are blocked.

The rule which causes the breakage is:

{
  "action": {
    "type": "block"
  },
  "condition": {
    "excludedResourceTypes": [ "object" ],
    "isUrlFilterCaseSensitive": false,
    "urlFilter": ".com/track?"
  },
  "id":7139
}

So when excludedResourceTypes is specified, we need to add main_frame to it.

@gorhill
Copy link
Member

gorhill commented Sep 28, 2022

Should be fixed in uBOLite_0.1.22.9285.

@gwarser gwarser closed this as completed Sep 28, 2022
@gorhill gorhill transferred this issue from uBlockOrigin/uBlock-issues Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants