You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/components/modal/v2/lib/postMessage.js
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -41,9 +41,7 @@ function createSafePayload(unscreenedPayload) {
41
41
if(allowedFields.includes(key)){
42
42
safePayload[key]=value;
43
43
}else{
44
-
console.warn(
45
-
`attn PayPal dev: modal hook payload params are screened by function createSafePayload in postMessage.js for data security. Please consider if param ${key} is secure for posting, and add the secure param(s) to that function's allowed fields.`
46
-
);
44
+
console.warn(`modal hook payload param should be allowlisted if secure: ${key}`);
0 commit comments