[Solved] Problem with gdn.url()
Hi all,
We installed last revision from Github for testing purposes, and now are experiencing a rare problem. For example, with the Quote plugin. The plugin get the comment via GET with gdn.url('/discussion/getquote/'+ObjectID);
well, this works fine, but.. its trying from the main domain, and not from the subdirectory.
The web is in: http://domain.comAnd the forum in: http://domain.com/forum
Well, the script is trying: discussion/getquote/Discussion_XX?format=Html
instead: forum/discussion/getquote/Discussion_6?format=Html
This problem is the same if we enable jsConnect or other plugin using gdn.url()
. The installation is fine, and detect the forum is in /forum
. any ideas?PS: The function is here: https://github.com/vanillaforums/Garden/blob/master/js/global.js#L637
For some reason, deleting the cache and the problem is fixed. Mark as solved, please :P