-
-
Notifications
You must be signed in to change notification settings - Fork 432
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
[Bug] 域名是子路径时的登录问题 #146
Comments
flashlab
added a commit
to flashlab/EasyImages2.0
that referenced
this issue
Oct 20, 2023
不光是登录,好几处也都是这样写死的,放二级目录就炸😂比如这种: EasyImages2.0/admin/admin.inc.php Line 1381 in a1e8059
Line 52 in a1e8059
|
測試了一下,在子路徑下問題不少, |
原来不是我一个人遇到这个问题,那我就放心了,我想着更改路径,登录还是不能正常跳转到主页 |
有解吗 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
由于我把网站放在了web目录的子文件夹,比如image/,那么网站首页域名类似“https://domain.com/image”。
源码里“/admin/index.php”这种绝对路径的url写法,导致一些操作,比如登陆,会跳转到“https://domain.com/admin/index.php”而不是“https://domain.com/image/admin/index.php”。
The text was updated successfully, but these errors were encountered: