Yes, I see what you mean. I consider this a bug in how the base URL is being constructed from the user-input value.
As far as I can tell, the issue resides in the code here:
I'm not a developer, but from what I can understand of this, the getBaseUrl()
function uses the function described above it, parseUrlHost
, on line 183. However, if you look up at the parseUrlHost
function, it appears that appending http://
is hardcoded as part of the function! I'm not entirely sure, but I suspect this is where the problem lies.
I can't personally figure out where the /index.php is being appended, but this too should not be done unnecessarily.
Hopefully we'll be able to address this in a future release.