DescriptionSanitize referrer in context menus.
This CL adds a method to content::Referrer that allows for sanitizing the referrer before making a network request and uses it to scrub the Referer header for requests originating in the context menu.
It is based on work started by cbentzel@ in https://codereview.chromium.org/277903002/.
BUG=357473
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287579
Patch Set 1 #Patch Set 2 : A bit of cleanup. #Patch Set 3 : Fix for Save Image (As). #Patch Set 4 : Add test for Save Image As #
Total comments: 2
Patch Set 5 : Change SerializedNavigationEntry::Sanitize and add extra check. #
Total comments: 2
Messages
Total messages: 12 (0 generated)
|