Skip to content

Commit

Permalink
Merge branch 'master' into feature/AG-36533
Browse files Browse the repository at this point in the history
  • Loading branch information
kurrx committed Oct 10, 2024
2 parents bcb663b + 7383903 commit c55c340
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
PERMISSIONS_POLICY_HEADER_NAME,
RequestType,
} from '@adguard/tsurlfilter';
import { nanoid } from 'nanoid';
import {
defaultFilteringLog,
FilteringEventType,
Expand Down Expand Up @@ -108,7 +109,10 @@ export class PermissionsPolicyService {
type: FilteringEventType.ApplyPermissionsRule,
data: {
tabId,
eventId: requestId,
// for proper filtering log request info rule displaying
// event id should be unique for each event, not copied from request
// https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2341
eventId: nanoid(),
requestUrl,
frameUrl: referrerUrl,
frameDomain: getDomain(referrerUrl),
Expand Down

0 comments on commit c55c340

Please sign in to comment.