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

Firefox policies exception fails: blocks printix registration URL #1176

Open
dduehren opened this issue Dec 20, 2024 · 4 comments
Open

Firefox policies exception fails: blocks printix registration URL #1176

dduehren opened this issue Dec 20, 2024 · 4 comments

Comments

@dduehren
Copy link

The folllowing URL is being blocked, despite many attempts to enter URLs that should have allowed it, including the exact URL. I don't know if it's too long, has a redirect in it, or some other reason, but it gets blocked. Below I've pasted both the URL and the policies.json file.
``{
"policies": {
"FirefoxHome": {
"Search": false,
"TopSites": false,
"SponsoredTopSites": false,
"Highlights": false,
"Pocket": false,
"SponsoredPocket": false,
"Snippets": false,
"Locked": false
}
,
"DisablePrivateBrowsing": true,
"DisplayMenuBar": "default-on",

"Homepage": {
  "URL": "https://secure.therapservices.net/auth/login",
  "Locked": true
}

,
"ManagedBookmarks": [
{
"toplevel_name": "OFCO managed bookmarks folder"
},
{
"url": "http://intranet.ofco.internal/?page_id=125&test=%username%&reauth=sso",
"name": "Intranet"
},
{
"url": "https://access.paylocity.com",
"name": "Paylocity"
},
{
"url": "https://secure.therapservices.net/auth/login",
"name": "Therap"
},
{
"name": "Microsoft links",
"children": [
{
"url": "https://www.office.com",
"name": "office.com"
},
{
"url": "https://www.microsoft365.com/",
"name": "Microsoft365.com"
}
]
}
]
,
"WebsiteFilter": {
"Block": ["<all_urls>"],
"Exceptions": ["https://www.opportunityfound.org/",
"https://secure.therapservices.net/
",
"https://www.therapservices.net/",
"https://therapservices.zoom.us/
",
"https://help.therapservices.net/",
"https://2025therapnational.sched.com/
",
"https://access.paylocity.com/",
"https://assets.printix.net/
",
"https://api.printix.net/",
"https://auth.printix.net/
",
"https://sign-in.printix.net/",
"https://drivers.printix.net/
",
"https://software.printix.net/",
"wss://websocket.proxyendpoint.printix.net/
",
"https://localhost:21343/",
"https://mozilla.org/
",
"http://intranet.ofco.internal/*"
]
}
,
"Preferences": {
"browser.search.update": {
"Value": false,
"Status": "locked"
}
}
}
}

``

image

@mkaply
Copy link
Collaborator

mkaply commented Jan 3, 2025

The allowed URLS are match patterns so you need to add a /* on the end on all of them (similar to what you did for the last one)

So for instance:

https://secure.therapservices.net/*

worked for me. And then for something like mozilla:

https://*.mozilla.org/*

See

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns

@mkaply
Copy link
Collaborator

mkaply commented Jan 3, 2025

Sorry, for your specific URL

https://auth.printix.net/*

I verified that works.

@dduehren
Copy link
Author

dduehren commented Jan 7, 2025 via email

@mkaply
Copy link
Collaborator

mkaply commented Jan 7, 2025

It looks like some of my email got lost

I was saying that if you change it to:

"https://auth.printix.net/*",

in the policy, it will work (that's what I tested).

These are not URLs, they are pattern matches, so you have to provide the * on the end (for all of the URLs)

As far as automatic updates, you need to make sure the maintenance service has the right permissions as well.

https://support.mozilla.org/en-US/kb/what-mozilla-maintenance-service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants