Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onerror=redirect relative URL #16

Open
rjdusk opened this issue Nov 1, 2023 · 1 comment
Open

onerror=redirect relative URL #16

rjdusk opened this issue Nov 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@rjdusk
Copy link

rjdusk commented Nov 1, 2023

Hi @Mecanik,
firstly thank you so much for this worker code, I've been using it to great success on a WordPress website I manage.

However I've noticed a few line in my server error logs that look like this:

2023/11/01 00:16:43 [error] 48664#48664: *449359 open() "/www/xucobuce_886/public/resources/guides/mobile-self-checkout-benefits/onerror=redirect/wp-content/uploads/2021/03/Yuka-scanning-app-cheerios.png" failed (2: No such file or directory), client: 52.167.144.136, server: www.scandit.com, request: "GET /resources/guides/mobile-self-checkout-benefits/onerror=redirect/wp-content/uploads/2021/03/Yuka-scanning-app-cheerios.png HTTP/2.0", host: "www.scandit.com:64972"

Any idea what maybe causing these errors? It looks like the onerror redirect is a relative URL instead of an absolute URL. Probably some config I may have missed, but I can't see where. Thanks!

@Mecanik
Copy link
Owner

Mecanik commented Sep 18, 2024

Hi,

Thanks for reporting this and I apologize for the late reply. I will investigate and get back with an update.

@Mecanik Mecanik added the bug Something isn't working label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants