Skip to content
This repository was archived by the owner on Sep 19, 2020. It is now read-only.

Custom recipes don't show up when visiting corresponding host #8

Closed
6 tasks done
migueldemoura opened this issue May 13, 2018 · 4 comments
Closed
6 tasks done
Labels
bug Something isn't working fixed issue has been addressed

Comments

@migueldemoura
Copy link

migueldemoura commented May 13, 2018

Prerequisites

  • Did you perform a cursory search of the issue tracker?
  • Can you reproduce the problem when...
    • uMatrix is the only extension?
    • uMatrix with default lists/settings? N/A
    • using a new, unmodified browser profile?
  • Are you running the latest version?
  • Did you check the documentation?

Description

Custom recipes don't show up when visiting corresponding host.

A specific URL where the issue occurs

https://pastebin.com/

Steps to Reproduce

  1. Import https://pastebin.com/raw/WXch6AqJ in Ruleset recipes at dashboard.html#hosts-files. Apply and update.
  2. Visit https://pastebin.com/

Supporting evidence

The recipe seems to have been imported:
https://myazo.migueldemoura.com/data/997c9bb461df6538719eb023.png

Yet the puzzle icon does not show any available recipe:
https://myazo.migueldemoura.com/data/569ca57b1cfe3ca4e6fadf8f.png

Recipe content

Pastebin
    pastebin.com *
        ! Required due to Cloudflare's browser check
        _ 1st-party cookie
        _ 1st-party script

Is this incorrect? I also tried with the global CDN examples at https://raw.githubusercontent.com/migueldemoura/ublock-umatrix-rulesets/master/uMatrix/recipes and got the same result.

Your environment

  • uMatrix version: 1.3.8
  • Browser Name and version: Chromium 66.0.3359.139 64-bit
  • Operating System and version: buntu 18.04
@uBlock-user
Copy link
Contributor

I can reproduce in Chromium 68 and in the latest dev build.

@uBlock-user uBlock-user added the bug Something isn't working label May 13, 2018
@migueldemoura
Copy link
Author

Might I add that the built-in rulesets work just fine.

@gorhill
Copy link
Member

gorhill commented May 13, 2018

There are things to fix on my side. However, even after the fixes your recipes file is still not parseable by uMatrix, because it's missing the mandatory top line:

! uMatrix: Ruleset recipes 1.0

This is a requirement for uMatrix to parse the file as a ruleset recipes file. uMatrix will still import files without that mandatory line because it can only know the file is invalid after importing and loading it.

@migueldemoura
Copy link
Author

Thanks @gorhill!

@gorhill gorhill added the fixed issue has been addressed label May 13, 2018
Noxgrim pushed a commit to Noxgrim/uMatrix that referenced this issue Dec 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working fixed issue has been addressed
Projects
None yet
Development

No branches or pull requests

3 participants