Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

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

  • 2 odpowiedzi
  • 1 osoba ma ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź od 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

Wybrane rozwiązanie

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....

Przeczytaj tę odpowiedź w całym kontekście 👍 0

Wszystkie odpowiedzi (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

Wybrane rozwiązanie

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....