Duplicated path url.

Post Reply
kreker31
Posts: 2
Joined: Tue Sep 02, 2014 7:54 am

Duplicated path url.

Post by kreker31 »

Sorry for my English.
Duplicated path url.
Have a domain of the form site.ru/ I press "login"(site.ru/?login). Page opens in a password. If it again click "login" link to the form site.ru/?login?login. Or quickly press the menu items, and the same are obtained here are the url site.ru/home/home/about

Code: Select all

AddDefaultCharset UTF-8
RedirectMatch 403 ^.*/files/
ErrorDocument 403  
RewriteEngine on
Options -Indexes
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1#%{REQUEST_URI} ([^#]*)#(.*)\1$
RewriteRule ^([^\.]+)$ %2?page=$1 [QSA,L]
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Duplicated path url.

Post by wiz »

This is a bug in the 0.6 BETA.
Please go to the WonderCMS GitHub and download the latest BETA (the download button is on the right).

The bug will be resolved once you update.
kreker31
Posts: 2
Joined: Tue Sep 02, 2014 7:54 am

Re: Duplicated path url.

Post by kreker31 »

And what was the problem?
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Duplicated path url.

Post by wiz »

I can't really say as we didn't know this was a bug until we re-made WonderCMS with the now host function.
This means we fixed the bug along without knowing it exists. Pretty neat, but unfortunately doesn't answer your question.

If I had put my finger on it, without research, I would say the problem was within the hostname (in index.php) and not defining the root directory of WonderCMS properly in cases where ?login happened.
Post Reply