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

User can directly access the theme directory #888

Open
ghost opened this issue Jan 23, 2023 · 0 comments
Open

User can directly access the theme directory #888

ghost opened this issue Jan 23, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 23, 2023

  • Themosis Version: dev-main
  • WordPress Version: 6.1
  • PHP Version: 8.0

Description

A user can access the directory of the active template, where a 500 error is returned.

Example:
http://domain.test/content/themes/website/index.php

How can I make it return to the main url?

Captura

Note: I use the dev-main branch as it allows me to work with laravel 8

Steps to reproduce

Enter the url of the active template

Example:
http://domain.test/content/themes/website/index.php

Expected behavior

That when you enter that url directly, you are redirected to the main url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants