Location of blocklist in profile folder?

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35634
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Location of blocklist in profile folder?

Unread post by Moonchild » 2015-03-22, 19:30

Hmm.. I'm not sure if the display actually gets fixed up then (I probably should do it regardless - commas have no reason to be in a version number), but for the version check it should certainly use a proper format.

@hello* : Are you sure you have the latest version of Flash?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

SvenG

Re: Location of blocklist in profile folder?

Unread post by SvenG » 2015-03-22, 19:33

I did a comparison between the blocklist in my profile folder and the default one and the only differences are related to flash, then I renamed the one in my profile folder, so PM uses the default one and.... flash is marked vulnerable.

Did another comparison, the blocklist I have is
http://blocklist.palemoon.org/25.2.1/blocklist.xml
so this could solve the issue for now.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35634
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Location of blocklist in profile folder?

Unread post by Moonchild » 2015-03-22, 20:01

The one that came with the browser should be the same though... if it isn't then I'll have to check again what's in the source tree.

My bad, of course it shouldn't be the same, because I changed the version check in 25.3 and the 25.3 embedded blocklist therefore has the extra flash blocking versions in it -- but it SHOULD not trip over the commas in 25.3 so something else is still wrong.

I'm changing the check to be less specific - it should always fix up commas to periods, regardless of plugin used or locale. I think the issue might be that the very strict MIME check doesn't work to determine if it "is flash". And that would be a problem since it wouldn't fix up the version in that case. Maybe dealing with having to oddly install the flash player, like symlinking and the likes as needed on some distros not registering the type as a result... :think:

In any case, I see no harm in correcting binary-embedded version string stupidity in-browser. The browser needs to be able to check the version properly, so it can fix up silly commas in favor of having a broken check :P -- I'm not entirely sure why Mozilla's patch made it as strict anyway... "Only do this if on Linux AND if the plugin has x-shockwave-flash as a registered MIME type"... while any comma in any plugin version would break the check.

EDIT: The blocklist I just put on the server for 25.3.0 is not the same as the one that comes with the binary (a good thing in this case since the check isn't working properly yet in all cases as you found out)
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

SvenG

Re: Location of blocklist in profile folder?

Unread post by SvenG » 2015-03-22, 20:22

Moonchild wrote:EDIT: The blocklist I just put on the server for 25.3.0 is not the same as the one that comes with the binary (a good thing in this case since the check isn't working properly yet in all cases as you found out)
Just tried :thumbup: Thanks.

User avatar
ron_1
Moon Magic practitioner
Moon Magic practitioner
Posts: 2858
Joined: 2012-06-28, 01:20

Re: Location of blocklist in profile folder?

Unread post by ron_1 » 2015-03-23, 00:27

Okay, works for me too, but I still have the commas. Is the correct place to put the blockfile in /home/<name>/.moonchild productions/pale moon/xxxxxxxx.default/ ?

[MC, I am using the latest version.]

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35634
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Location of blocklist in profile folder?

Unread post by Moonchild » 2015-03-23, 00:37

Yes, you will still have the commas, since apparently it was not entirely fixed (Mozilla's fix works for some and not for others). I'm working on fixing that in the browser.

Just using the one served by the blocklist server will do fine, no need to manually juggle the files.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked