mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-11-03 23:55:44 +00:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			v3.0.0-alp
			...
			v3.0.0-alp
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					b1dc5cb4cc | ||
| 
						 | 
					3c9bc8c67f | 
@@ -31,9 +31,7 @@ export const ContinuePage = () => {
 | 
				
			|||||||
    }, 500);
 | 
					    }, 500);
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const urlParsed = URL.parse(redirectUri);
 | 
					  if (!URL.canParse(redirectUri)) {
 | 
				
			||||||
 | 
					 | 
				
			||||||
  if (urlParsed === null) {
 | 
					 | 
				
			||||||
    return (
 | 
					    return (
 | 
				
			||||||
      <ContinuePageLayout>
 | 
					      <ContinuePageLayout>
 | 
				
			||||||
        <Text size="xl" fw={700}>
 | 
					        <Text size="xl" fw={700}>
 | 
				
			||||||
@@ -47,9 +45,11 @@ export const ContinuePage = () => {
 | 
				
			|||||||
    );
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const uri = new URL(redirectUri);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (
 | 
					  if (
 | 
				
			||||||
    window.location.protocol === "https:" &&
 | 
					    window.location.protocol === "https:" &&
 | 
				
			||||||
    urlParsed.protocol === "http:"
 | 
					    uri.protocol === "http:"
 | 
				
			||||||
  ) {
 | 
					  ) {
 | 
				
			||||||
    return (
 | 
					    return (
 | 
				
			||||||
      <ContinuePageLayout>
 | 
					      <ContinuePageLayout>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user