Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Extensions don't respect base URL
I've got the WhosOnline and PageMng extensions installed, and both are not using the base url I specified.
Web Path to Vanilla: http://www.getmiro.com/forum/
Cookie Path: /forum/
For example, when I click on an username in the WhosOnline panel, I'm directed to: http://www.getmiro.com/account.php?u=4 (which results in a 404)
It should point to: http://www.getmiro.com/forum/account.php?u=4
Same thing happens when I use the Page Management link from the side panel: http://www.getmiro.com/settings.php?PostBackAction=Pages
Any advice is appreciated.
ps. I notice that all the http://'s are picked up as hyperlinks -- vanilla doesn't do this by default, right?
0
This discussion has been closed.
Comments
It appears the problem is due to those particular links being built with relative URLs instead of absolute.
Normally this wouldn't be a problem, except that your page code has <base href="http://www.getmiro.com/" /> at the top.
Fix would be to either remove that line (which would break the links in your page navigation, so you would have to then convert the navigation links to absolutes), or append the base URL to the extension's links to make them absolute links.