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
Try fallback valid domains list before CDN list (#2837)
* Updated fetch logic
* comment
* use fallback list before waiting on CDN fetch
* increase package size limit
* update tests
* Update comment on reset function
// Check whether the url is in the pre-known allowlist or supplied by user
136
+
if(!isValidHttpsURL(messageOrigin)){
136
137
validateOriginLogger(
137
-
'Origin %s is invalid because it is not an origin approved by this library or included in the call to app.initialize.\nOrigins approved by this library: %o\nOrigins included in app.initialize: %o',
138
+
'Origin %s is invalid because it is not using https protocol. Protocol being used: %s',
'Origin %s is invalid because it is not an origin approved by this library or included in the call to app.initialize.\nOrigins approved by this library: %o\nOrigins included in app.initialize: %o',
158
+
messageOrigin,
159
+
validOriginsList,
160
+
GlobalVars.additionalValidOrigins,
161
+
);
162
+
returnfalse;
163
+
}
164
+
165
+
/**
166
+
* @internal
167
+
* Limited to Microsoft-internal use
168
+
*
169
+
* This function is only used for testing to reset the valid origins cache and ignore prefetched values.
0 commit comments