forked from EVOgeek/Vmeda.Online
		
	MOBILE-4478 link.ts: Avoid navigate to decoded links
This commit is contained in:
		
							parent
							
								
									89123e0df7
								
							
						
					
					
						commit
						8eeac15136
					
				| @ -89,9 +89,7 @@ export class CoreLinkDirective implements OnInit { | |||||||
|         const openIn = this.element.getAttribute('data-open-in'); |         const openIn = this.element.getAttribute('data-open-in'); | ||||||
| 
 | 
 | ||||||
|         if (CoreUtils.isTrueOrOne(this.capture)) { |         if (CoreUtils.isTrueOrOne(this.capture)) { | ||||||
|             href = CoreTextUtils.decodeURI(href); |             const treated = await CoreContentLinksHelper.handleLink(CoreTextUtils.decodeURI(href), undefined, true, true); | ||||||
| 
 |  | ||||||
|             const treated = await CoreContentLinksHelper.handleLink(href, undefined, true, true); |  | ||||||
| 
 | 
 | ||||||
|             if (!treated) { |             if (!treated) { | ||||||
|                 this.navigate(href, openIn); |                 this.navigate(href, openIn); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user