User:Hendy:Flashblock

From Camino Wiki
Revision as of 17:43, 26 March 2010 by Hendy (talk | contribs) (Initial thoughts)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Flash exceptions list does not accept input of full URLs ("Add" button stays greyed out)

IDNs

Our Flashblock system accepts and works with IDNs.

Permissions doesn't work with IDNs, and needs to be given punycoded hosts.


Non-standard ports

Flashblock works with non-standard ports

 www.hutech.edu.vn:8080 will allow flash on www.hutech.edu.vn:8080
 but www.hutech.edu.vn will block flash on www.hutech.edu.vn:8080

Permissions will take non-standard ports, but doesn't store them

 www.hutech.edu.vn:8080 will be stored as www.hutech.edu.vn
 Presumably, permissions will only consider the host when deciding
 whether to allow something.


Strategy

Validation for both should be the same, and minimal

 Done in WebFeatures isPartialStringValid
   Length > 0
   Must have host and tld
   If flashblock, isn't already in whitelist

Committing to popup whitelist

 Punycode result and send it to permissions
   Punycoding could be done in permission manager?

Committing to flashblock

 Send straight to flashblock