about summary refs log tree commit diff stats
path: root/whitelist.c
Commit message (Collapse)AuthorAgeFilesLines
* fix build on NetBSD. From Arnaud DegrooteDavid Hill2013-06-161-1/+1
|
* add a new config option js_auto_open_windows = 0|1, default being 1.David Hill2013-06-081-1/+1
| | | | | | | | | If enabled (the default), javascripts will be allowed to automatically open windows (popups) based on the current browser_mode setting. This is the current behavior. If disabled (set to 0), the automatic opening of windows will never be allowed, even if the site is whitelisted.
* plug memleak if SOUP_URI_VALID_FOR_HTTP fails.David Hill2013-04-201-1/+5
|
* Add regex support to whitelistsJosh Rickmar2012-09-181-93/+125
| | | | | | | | | | | | | | This modifies the whitelist and https forcing code to internally use unix extended regular expressions to match domains. The old config syntax converted to an appropiate regular expression. Inputing of raw regular expressions is possible by prepending the string "re:" in front of a regular expression, for example: js_wl = re:^(.*\.)*cyphertite\.com$ would be the same as js_wl = .cyphertite.com
* Fix back/forward handling with about pages.Josh Rickmar2012-08-291-4/+4
| | | | | | | | | This change makes the can_go_* and go_* back/forward functions use the same logic when determining whether we are on an about page, and makes it so about:secviolation warning pages do not save the page that generated the warning to t->item. This prevents hitting back and going back to the exact same page that generated the warning (triggering the warning a second time).
* Add a :https commandJosh Rickmar2012-08-011-9/+78
|
* Distinguish between toplevel domains and FQDNs in whitelist code.Josh Rickmar2012-08-011-39/+41
| | | | | | | | | This fixes the behavior of the whitelist code so that whitelist toggling toggles the FQDN (not the domain and all subdomains), unless domain is explicitly used. This was the intended behavior but the old code would automatically assume all subdomains anyways. This also makes the new force_https stuff work correctly with FQDNs (no subdomains) for the preloaded HSTS list.
* Add a force_https setting (using the same domain syntax as theJosh Rickmar2012-07-311-3/+3
| | | | | | | | | | | | | | | whitelist settings) to make all requests to that domain use the HTTPS scheme, similar to HSTS. Install a new file, hsts-preload, into the resource dir. This is a regular config file with a bunch of force_https = ... lines, which is used to implement a preloaded HSTS list. Right now all the domains in this file, except for conformal.com and cyphertite.com, are taken directly from chromium's preloaded HSTS list (and should be synced with this file every so often). Also implement a new setting, preload_strict_transport (enabled by default), to enable or disable the loading of this preloaded HSTS list. Document force_https and preload_strict_transport in the manpage.
* rename xxxterm to xomreroMarco Peereboom2012-05-171-1/+1
|
* also fixup PS over hereMarco Peereboom2012-01-241-1/+1
|
* remove need for clens here by playing tricks with include paths, help from davecMarco Peereboom2012-01-231-1/+1
|
* Use a list of TLD's to properly handle multi-part TLD'sElias Norberg2012-01-161-5/+1
| | | | | The list used is from publicsuffix.org. It gets installed to the resource-directory as 'tld-rules'
* Fix a warning that was an actual issue.Marco Peereboom2011-11-031-5/+8
| | | | Found by gcc!
* Fix 2 clever bugsMarco Peereboom2011-11-031-8/+21
| | | | | | | | | First :js/pl/cookie domain save wasn't saving the actual domain. I tried being clever to save a switch statement. FAIL. Second I tried to save an else statement. Again FAIL. Next time I am doing clever things please yell at me.
* move one more function overMarco Peereboom2011-11-021-0/+48
|
* More file splitsMarco Peereboom2011-11-021-0/+427
| | | | Add whitelist and settings files.
* Revert "Merge branch 'master' of opensource.conformal.com:/git/xxxterm"marco2011-11-021-776/+0
| | | | | This reverts commit e562a275ba9277803a4a6fe89e71545268986a7b, reversing changes made to b07b1b86ecd74b3042de4f7eb021ee0e39acb7d1.
* sort whitelist stuff into whitelist.cTodd T. Fries2011-11-011-0/+776