3
 http://myimage.png%E2%80%8B

I have just copy paste this img url but it added some wiered data on end and image does not show . but on code it looks perfect .

I have tried something in Angular like

var imageSafeUrl = this.sanitizer.bypassSecurityTrustResourceUrl(this.imageLink);
this.imageLink = imageSafeUrl['changingThisBreaksApplicationSecurity'];

but still it adds

Ashutosh Jha
  • 15,451
  • 11
  • 52
  • 85
  • 1
    Possible duplicate of [Wordpress putting %E2%80%8E at the end of my url, howcome?](https://stackoverflow.com/questions/10342012/wordpress-putting-e2808e-at-the-end-of-my-url-howcome) – Madhawa Priyashantha Feb 19 '18 at 15:08

2 Answers2

1

The data is url encoded so it can be typed safely in an address bar and interpreted by the browser/server

%E2 = â
%80 = `
%8B = ‹

A table to help you interpret the encoded characters is available at https://www.w3schools.com/tags/ref_urlencode.asp

So together you have copied http://myimage.pngâ`‹

Tschallacka
  • 27,901
  • 14
  • 88
  • 133
0

Added "?" after link now Extra data is set as query parameter

<a title="GreenPop" href="http://myimage.png?" >
Ashutosh Jha
  • 15,451
  • 11
  • 52
  • 85