URL Forward slash displaced in browser - google-chrome

So i deployed my java application and everything works fine except when i click a link or type the full url (example: https://url.com/login?key=qwerasd) the browser shows error page title "This site cannot be reached" with the url showing the the forward slash removed thus making the full url appear this way: https://url.comlogin/?key=qwerasd.
I would like to know if anyone has encountered this issue and know how to resolve it. Thanks in advance.

Related

A HTML link redirects to correct URL but page doesn't load and shows 403 error. The page loads fine once the page is refreshed

I have a web application hosted on Apache Tomcat which is installed on XAMPP (XAMPP is an app. like citrix/vmware). On clicking a particular link on the homepage, among many others that work absolutely fine, I'll be redirected to the required URL but the page doesn't load and shows 403 error. However, the page loads fine once the page is refreshed. Also, this error happens only when accessed from XAMPP(where it is hosted; using 'localhost'). This error does not occur when accessed outside XAMPP(using application url). All other links on the homepage works fine in both the cases
ScreenShot of error
Can someone help fix this, please? Any support is much appreciated.

Chrome can't see images that require username/password

So this is a weird problem, I am attempting to embed a video stream from a D-Link DCS-930L into a web page. My embed looks like this:
<img alt="" src="http://guest:password#192.0.0.10/video.cgi">
The problem is that Chrome displays a broken link image when I load the page, while Firefox and IE load it perfectly the first time.
But the really strange part is that if I right click on the broken image > Open link in new tab the stream loads, and then if I close the tab and refresh the page with the embed it loads there too! So it's definitely something to do with the username/password requirement.
I have also tried creating a user without a password but I see the same issue. There is no setting to disable this requirement in the 930L's control panel that I can find.
Does anyone know how to fix this? If not, is there a way to use PHP to execute a login automatically for the above kind of URLs?
This appears to be intentional behavior on Chrome's part since v19. Bummer.

sharepoint restricting images in iframe from showing in IE

I have a Page Viewer web part in SharePoint 2013 pointing to a relative URL (html file) on the same server, which is displayed in an iFrame. In Firefox the page is displayed fine, but in IE10 (and Edge, 9, 8, ect) the images are just error 'x' boxes. I've been reading all morning about IE zones and such but I haven't been able to find any solution. I have copy/pasted the URL for the image directly into the browser and I can confirm the link is correct. Can anyone help? Please let me know if I've missed including any information.
Here is what the page looks like:
EDIT: I just checked the network traffic for page during image loading and all 3 came back with a 200 result and correct data size.
I changed all my images to JPG and they started working. I can't explain why, but it solved my issue.
Leaving this open for a bit to see if anyone can shed some light.

Empty IMG SRC trigger logout in IE

I'm developing a web system now, and have debugged a very strange bug just now.
First I describe the bug itself here.
Problem:
When visit http://mysite/, it redirects to login and do logout at once.
There is a page, which url is /site.php?arg1=xxx&arg2=xxx everything is well in chrome, but when I use the ie8, after this page loaded, the account is logged out!
Bug Location:
After a long term of debugging, I found that the point which causing the problem is:
<img class="item_thumbnail" src="" />
If I remove this tag, everything become good.
So I'm wondering: when the <img> tag render, what's its behavior? Will it request the login page? But everything is in mass with ie.
What cause this problem? And what will ie an non-ie deal with the img-src?
Need your help!
As I suspected, according to
Empty image src can destroy your site
Internet Explorer makes a request to the directory in which the page
is located. For example, if you have a page running at
http://www.example.com/dir/mypage.htm that has one of these patterns,
IE makes a request to http://www.example.com/dir/ to fill in the
image.
Safari and Chrome make a request to the actual page itself. So
the page running at http://www.example.com/dir/mypage.htm results in a
second request to http://www.example.com/dir/mypage.htm to fill in the
image.
Hit F12 and look in the network tab to see.

How to allow https content within an iframe on a http site?

I've a site using http and I need to put an https iframe link in it. The iframe is working fine in all browsers except in Internet Explorer. I know it's related to domain security, but need to solve it.
The error message shown in IE: "This content cannot be displayed in a frame."
How can I solve this issue?
I also tried to change the https link like: "//domain.com" and https://managewp.com/user-guide/faq/how-to-enable-iframe-in-internet-explorer-10 but both didn't work.
Please help me. Thanks in Advance.
This content cannot be displayed in a frame.
Is the message you get when you attempt to frame a page whose owner has asked for it not to be framed (using the X-Frame-Options header). This is not related to HTTP-vs-HTTPS, and it should fail on other newer browsers too.