This project has moved. For the latest updates, please go here.

port number showing twice in SPGetCurrentSite()

Apr 15, 2015 at 9:57 PM
using the SPGetCurrentSite() on a sharepoint server with the subset running on a root site not on port 80 is causing the port number to be included twice

on http://<servername>:12345/<subsite> calling this var siteurl = $().SPServices.SPGetCurrentSite();

results in http://<servername>:1234512345/<subsite>
Apr 15, 2015 at 10:00 PM
ignore this, i see it's mentioned in the issues,

Apr 15, 2015 at 11:45 PM
I just rolled a fix for this issue to Github today if you want to try it out.

Apr 16, 2015 at 2:59 AM
yes, i saw that - and it works just dandy :)

Apr 16, 2015 at 3:12 AM
Great to hear. Sorry about the bug. Let me know if you spot anything else.

Jun 29, 2015 at 5:49 PM
I'm still getting this issue. http://servername:8080__8080__/" and I'm running the latest version: Version 2014.02.

The script source is in a different server though. Am I missing something?
Jun 29, 2015 at 10:59 PM
I put that fix in the current working version, so it's not in the version you have or any public release. Also see this issue which covers the same ground: