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
suppose i have this in my .config/ midori/ config: data-rules= !accounts. google. com,!.google. com
site-
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: data-rules= !.google. com,!accounts. google. com
site-