Website Images Don't Load After Form Submission from Brave for Windows

Description of the issue:
If I visit my website using Brave for Windows, and submit a comment to a post or submit the site’s contact form, afterward Brave doesn’t display the site’s images. After submitting the site’s contact form from Brave for Windows, other browsers will not display the images either.

Exact URL of the website in question:

Did the issue present with default Shields settings? (yes/no)
Yes

Does the site function as expected when Shields are turned off?
No

Is there a specific Shields configuration that causes the site to break? If so, tell us that configuration. (yes/no):
No (not that I have found)

Does the site work as expected when using Chrome?
Yes.

Brave version (check About Brave):
Version 1.4.95 Chromium: 80.0.3987.122 (Official Build) (64-bit)

1 Like

@huppbrian,
I thought for sure that you must be mistaken about the behavior but after testing on my end it seems to behave exactly the way you described – which is very weird. I’m reaching out to some team members for more information.

1 Like

Thanks for the help, Matt.

I’ve been scratching my head on this one for a few weeks now.

BTW – I got in touch with my host (GoDaddy) about this issue as well. They couldn’t really explain it either.

Also, I forgot to mention that everything works fine using Brave for Android.

It’s only Brave for Windows that exhibits this behavior. I wouldn’t be too concerned about it except that afterward other browsers can’t retrieve my images either. The only way I’ve seen to fix it is to edit the page/post and update it
without making any changes. After I do that, the issue gets cleaned up.

Thanks again.

2 Likes

Any progress on this? I just ran a test, and the erronious behavior is still there.

Okay. I have a workaround.

The issue is with Brave’s interaction with the Site Logo in the Generate Press Wordpress theme. I verified this by taking the Soliloquy slider completely off the page and replacing it with some static tile images that are clickable.

With the logo image configured in the Generate Press customizer, after any of the forms on the site (post responses or contact form) are submitted from Brave for Windows, the site logo is no longer displayed by any browser, however the
alt text associated with the logo image is displayed. When the logo element is examined, the console shows that the browser is returned a 403 error by the server when it tries to retrieve the logo image.

As a workaround, I took out the site logo entirely, and added a custom HTML widget to the page/post header in its place. The replacement “logo” is…

Logo Brian Head with Site Title

I took out as much styling as I possibly could for this hyperlink and everything works fine from all browsers I have available for testing with. The only compromise is the Generate Press header widget area is on the right, and I’d prefer
to have the “logo” on the left. But that’s a small price to pay for avoiding the possibility that a visitor’s browser might break rendering of the header for all browsers.

There’s something about the CSS that Generate Press puts onto the logo that Brave doesn’t like, and somehow Brave is able to pass that aversion on to other browsers. I’m still unsure exactly how Brave is doing that, but for now I’m satisfied
with the workaround.

2 Likes

Could you create simplified test-case page? (strip everything except the issue)

1 Like

Yes. I should be able to do that on my staging site without impacting the production site. I will get that set up and then post the URL. It will take me a few days because I’m out of the loop for the remainder of the week and over the weekend. Once I have it
set up, I’ll reply to this string with the URL.

Love in Jesus’ Name,

brian

2 Likes

Cheers!, yeah just real basic test-case site, limiting all css/html to the issue. (makes it easier to debug, and compare with other browsers)

1 Like

Yeah, hopefully the issue will reproduce on the staging site. If not, I’ll have to expose the prod site to danger, which will be a huge disappointment to my billions upon billions of followers. (;~)}}}

Love in Jesus’ Name,

brian

1 Like

Well, bummer! I couldn’t reproduce the issue on the staging site.

I set up the minimal content and theme customizations on my staging site as requested, but Brave for Windows doesn’t exhibit the same behavior. Everything is working fine.

In addition to the minimized content and WordPress theme CSS. There are some other differences…

1 Like

K. So since the issue didn’t show up on the simplified site, I have re-enabled the GeneratePress theme’s Site Logo function on the production site just for testing purposes, and am able to reproduce the issue at will. I also have a quick
fix to “reinstate” the logo once it’s broken. Please let me know how testing goes. Once testing/troubleshooting is complete, I’ll turn the Site Logo function back off.

Thanks.

1 Like

My only suggestion maybe is to simplify the code? well, the images part

1 Like

Well if no further troubleshooting is planned from y’all’s end, then I guess I’ll just re-establish the workaround, and press forward. I can’t tolerate the situation where a visitor’s browser breaks the website rendering for all other visitors.

1 Like

Just checked where the file is hosted https://secureservercdn.net/198.71.233.129/egt.f49.myftpupload.com/wp-content/uploads/2020/03/Site_Logo-1.png?time=1584241275

# Forbidden

You don't have permission to access this resource.

Might be related to issues on how its hosted.

1 Like

Interesting. The folks at GeneratePress suggested I disable the CDN associated with the site, but I have no idea how to go about that. Will get with my hosting provider when I get back home on Monday and see what they have to say. In the meantime, I can always
fall back on the workaround.

Love in Jesus’ Name,

brian

1 Like

You nailed it, Ryan.

The issue is being caused by GoDaddy’s CDN. I turned the CDN off for my site, et voila!

I’m in the process of whining to GoDaddy as I type.

Thanks again.

2 Likes

Hi Muskan,

I ran into an issue a few weeks ago that I’ve been struggling to resolve, and finally did just now by disabling the CDN for my website.

The website URL is – https://huppbrian.us

The theme I am using is GeneratePress Premium.

I first notice the problem when I added a Ninja Forms contact form to the site. After the form is submitted, the visitor receives a confirmation and is then re-directed to the site’s homepage after a few seconds. While testing that form,
I found that if I submitted the form from Brave for Windows, after the redirect, the site logo, and the home page Soliloquy slider were not displayed correctly. What was even worse is that afterward, the home page was no longer displayed correctly by other
browsers. By experimentation, I found that if I edited the slider and updated it without making any other changes, and then edited the homepage and updated it without making any changes. The rendering of the page by all browsers was restored.

I opened an issue with the Brave community, and with the publisher of the GeneratePress theme. I also called GoDaddy technical support, but they couldn’t see anything wrong from the hosting perspective. Thinking the issue might be with
the Solliloquy slider, I opened up a case with them as well.

To troubleshoot the issue, I disabled as many of the plugins I’m using as I could, and also created a temporary static homepage without the Soliloquy slider. But the issue with the site logo persisted. I thought the issue might be with
the Ninja Forms contact form, but then during troubleshooting, I realized that the same issue occurred if I simply replied to one of my posts using Brave for Windows, and then reloaded the homepage.

As a workaround, I disabled the site logo function in the GeneratePress theme, replacing it with a hyperlink image of the site logo using the HTML widget in the page/post header.

I informed the Brave community, and the GeneratePress support team of this workaround, and asked them if they wanted me to do anything to support troubleshooting. This evening, Ryan from the Brave Community sent me an e-mail detailing the
error Brave is receiving from the server when trying to fetch the site logo image…

Just checked where the file is hosted [https://secureservercdn.net/198.71.233.129/egt.f49.myftpupload.com/wp-content/uploads/2020/03/Site_Logo-1.png?time=1584241275](https://secureservercdn.net/198.71.233.129/egt.f49.myftpupload.com/wp-content/uploads/2020/03/Site_Logo-1.png?time=1584241275)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.