Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

img src url not resolving when it is a GET request to a jsp page

  • 2 отговора
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от Daniel Spencer

more options

I think this is a bug, but thought I'd ask here first.

On FireFox 76.0.1, Windows 10, 64 bit

This is not resolving (names changed for privacy)

none

The URL resolves correctly when used alone. Clicking View Image on the browser right mouse menu on the alt ('none') link also resolves correctly. According to the dev console Network tab, it's not even trying to access the specified URL, and hovering over it on the Inspector tab reports "Cannot load image"

The page containing that image definition works correctly in Chrome, Edge beta, and Opera.

Thanks! Dan

I think this is a bug, but thought I'd ask here first. On FireFox 76.0.1, Windows 10, 64 bit This is not resolving (names changed for privacy) <img src="http://somewhere.com/GetUserImage.jsp?user=someone" alt='none'/> The URL resolves correctly when used alone. Clicking View Image on the browser right mouse menu on the alt ('none') link also resolves correctly. According to the dev console Network tab, it's not even trying to access the specified URL, and hovering over it on the Inspector tab reports "Cannot load image" The page containing that image definition works correctly in Chrome, Edge beta, and Opera. Thanks! Dan

Избрано решение

Okay, it appears to have something to do with the URL being an alias of something else. If I put in the explicit IP address target it works. Not exactly intuitive, but good enough....

Прочетете този отговор в контекста 👍 0

Всички отговори (2)

more options

Sorry, it appears to have swallowed my img definition. The 'none' above is from this (brackets removed): img alt="none" src="http://somewhere.com/GetUserImage.jsp?user=someone"

Or right mouse on 'none' above and Inspect Element

more options

Избрано решение

Okay, it appears to have something to do with the URL being an alias of something else. If I put in the explicit IP address target it works. Not exactly intuitive, but good enough....