This project has moved and is read-only. For the latest updates, please go here.

port number showing twice in SPGetCurrentSite()

Apr 15, 2015 at 10: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 11:00 PM
ignore this, i see it's mentioned in the issues,

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

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

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

Jun 29, 2015 at 6: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 11: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: