Closed alexbilbie closed 13 years ago
Hello,
We use moadmin in a secure environment and we have two problems:
When all the collections in a database are listed (url: https://example.com/moadmin.php?db=mydb) then the links to the collections link to
http://example.com/moadmin.php?db=mydb&action=listRows&collection=mycol
instead of
https://example.com/moadmin.php?db=mydb&action=listRows&collection=mycol
Next, all the JavaScript links when you're viewing a collection are appending the URL to the link so they don't work:
<a title="[Show Indexes]" href="http://example.comjavascript: $('#indexeslink').hide(); $('#indexes').show(); void(0);" id="indexeslink">[Show Indexes]</a>
Instead of:
<a title="[Show Indexes]" href="javascript: $('#indexeslink').hide(); $('#indexes').show(); void(0);" id="indexeslink">[Show Indexes]</a>
Forgot to mention, we're using PHP 5.3.2 on RHEL5 with the latest version of MongoDB and the PECL driver
Hello,
We use moadmin in a secure environment and we have two problems:
When all the collections in a database are listed (url: https://example.com/moadmin.php?db=mydb) then the links to the collections link to
instead of
Next, all the JavaScript links when you're viewing a collection are appending the URL to the link so they don't work:
Instead of: