We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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