Closed Bug 91785 Opened 24 years ago Closed 22 years ago

need way to block images from entire domains (*.foo.com)

Categories

(Core :: Graphics: Image Blocking, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: jmd, Assigned: security-bugs)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

Similar to the feature of the junkbuster proxy, Mozilla needs a way to block images coming from any site on a domain. The permission code currently ignores a leading '.' for hosts in cookperm.txt, this would probably be a decent way to implement such a feature.
Blocks: 91783
I'm almost sure I've seen this filed already.
Whiteboard: DUPEME
smells like a duplicate of 78104
78104 is wildcard or regexp matching and is futured. preferably this bug could be done as a 1.0 temporary fix, since 78104 is futured.
-> morse
Assignee: pavlov → morse
Target Milestone: --- → Future
This bug is a duplicate of bug 78104.
I think this is a duplicate of bug 78104 because implementing any sort of temp fix would probably go most of the way to implementing it. I know there already is regular expression processing code somewhere else in mozila (perhaps in the JavaScript interpreter), so it should be a matter of using that on URLs.
Guess it wont make 1.0, then.
Depends on: 78104
Whiteboard: DUPEME
Component: ImageLib → Image Blocking
The patch(es) for bug 78104 already handles globbing since it is significantly similar to regular expression filtering.
Attached patch wildcard checkSplinter Review
Tim, Are you still working on this? What you did for pattern recognition is pretty cool. But you said you were ripping the wildcard part of that patch. So I created an patch that allows to put *.mozilla.org<tab>1F in you cookperm.txt, so you wont get any images from any mozilla.org domain. Note: It does not work for ads.*.com or something like that. But is does work for cookies.
Mass reassigning of Image manager bugs to mstoltz@netscape.com, and futuring. Most of these bugs are enhancement requests or are otherwise low priority at this time.
Assignee: morse → mstoltz
Bug 176950 changed the way we check hosts. From now on, domain.com in your cookperm.txt will alse block things from host.domain.com. See that bug for more information. So this is fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: