Comment 8 for bug 836729

Revision history for this message
vcap (vcappe) wrote :

suppose i have this in my .config/midori/config:
  site-data-rules=!accounts.google.com,!.google.com
and have a cookie from the .google.com domain.

when i do 'clear private data', the code will find a match at the '.google.com' just after 'accounts.' which will fall-through the warning case and let the policy set to MIDORI_SITE_DATA_UNDETERMINED instead of MIDORI_SITE_DATA_PRESERVE as expected.

instead the code should search the next match, and only when it reach the end of the string without finding a match should it return MIDORI_SITE_DATA_UNDETERMINED.

as a workaround i could just write:
  site-data-rules=!.google.com,!accounts.google.com