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

remove query string #31

Open
Ganyu69 opened this issue May 13, 2023 · 5 comments
Open

remove query string #31

Ganyu69 opened this issue May 13, 2023 · 5 comments
Assignees
Labels
bug (ошибка) Something isn't working

Comments

@Ganyu69
Copy link

Ganyu69 commented May 13, 2023

example

https://domain.com/goto/aHR0cHM6Ly93d3cuZmFjZWJvb2suY29tL2ZhY2Vib29r?swcfpc=1

end up to 404 https://www.facebook.com/facebook%B3%07%1F%A5%CD

@Ganyu69
Copy link
Author

Ganyu69 commented May 15, 2023

error if not using cloudflare image

@mihdan
Copy link
Owner

mihdan commented May 15, 2023

Hi

Check the error logs of your webserver

@mihdan mihdan self-assigned this May 15, 2023
@mihdan mihdan added the bug (ошибка) Something isn't working label May 15, 2023
@mihdan mihdan added this to To do in Работа над плагином via automation May 15, 2023
@Ganyu69
Copy link
Author

Ganyu69 commented May 15, 2023

@mihdan

Screenshot 2023-05-16 000925

nginx:
2023/05/15 17:44:16 [error] 920934#920934: *507345 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class "Mihdan\No_External_Links\Mihdan_NoExternalLinks_Database" not found in /home/test/web/domain.com/public_html/wp-content/plugins/mihdan-no-external-links/public/Frontend.php:988 Stack trace: #0 /home/test/web/domain.com/public_html/wp-content/plugins/mihdan-no-external-links/public/Frontend.php(474): Mihdan\No_External_Links\Frontend->add_log() #1 /home/test/web/domain.com/public_html/wp-content/plugins/mihdan-no-external-links/public/Frontend.php(428): Mihdan\No_External_Links\Frontend->redirect() #2 /home/test/web/domain.com/public_html/wp-includes/class-wp-hook.php(308): Mihdan\No_External_Links\Frontend->check_redirect() #3 /home/test/web/domain.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #4 /home/test/web/domain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/test/web/domain.com/public_html/wp-includes/template-loader.php(13): do_action() #6 /home/test/web/domain.com/public" while reading response header from upstream, client: xx.xx.xx.xx, server: domain.com, request: "GET /url/aHR0cHM6Ly93d3cuZmFjZWJvb2suY29tL2ZhY2Vib29r?hello HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-domain.com.sock:", host: "domain.com"

the error only appears if there is a query string

@mihdan
Copy link
Owner

mihdan commented May 15, 2023

Did you install the plugin from the WordPress repository or from GitHub?

@Ganyu69
Copy link
Author

Ganyu69 commented May 15, 2023

WordPress repository

Version 5.0.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug (ошибка) Something isn't working
Development

No branches or pull requests

2 participants