Page 1 of 1

Duplicated path url.

Posted: Tue Sep 02, 2014 8:05 am
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]

Re: Duplicated path url.

Posted: Sat Sep 06, 2014 10:31 am
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.

Re: Duplicated path url.

Posted: Tue Sep 09, 2014 10:24 am
by kreker31
And what was the problem?

Re: Duplicated path url.

Posted: Thu Sep 11, 2014 6:18 pm
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.