Weird characters appended to URL string.

Contributor ,
Apr 04, 2016 Apr 04, 2016

Copy link to clipboard

Copied

So, while I do use ColdFusion at work, I also use it on my personal website, where I host a blog and photo gallery.

Whenever I click on a post or a gallery pic, I notice that the URL is appended with some sort of token.

For instance, this:

http://mysite/post/2224

becomes this:

http://mysite/post/2224#.VmKaAipG_0

It makes for some pretty ugly URL strings when I want to paste something to someone.

My host uses CF9 (I think) and Linux.  Is there an obvious reason it does this?  I'm using session management and client cookies in Application.cfc, so maybe that has something to do with it.

Views

272

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Advocate , Apr 04, 2016 Apr 04, 2016
Do you use a javascript plugin like AddThis on your website? Are you using firefox when seeing these links?I know AddThis puts params like this onto urls for analytics. - See more here What is Address Bar Sharing Analytics?

Likes

Translate

Translate
LEGEND ,
Apr 04, 2016 Apr 04, 2016

Copy link to clipboard

Copied

If the "/2224" is pulled from a database, check all the data in all the tables.  I may be a bit paranoid, but I would think that my CMS somehow got hacked and some script-kiddie managed to push crap into my data.

AFAIK, there is no CF9 or Linux reason for the 'ugly' URL parameters.  Have you contacted your host service about this?

HTH,

^_^

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 04, 2016 Apr 04, 2016

Copy link to clipboard

Copied

Do you use a javascript plugin like AddThis on your website? Are you using firefox when seeing these links?

I know AddThis puts params like this onto urls for analytics. - See more here What is Address Bar Sharing Analytics?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 04, 2016 Apr 04, 2016

Copy link to clipboard

Copied

LATEST

The /2224/ gets plugged into index.cfm?post=2224 in .htaccess.  This is to make better looking URLs.

IMO, gallery/index.cfm?album=parent&photo=123 is uglier than /gallery/parent/123

haxth: YES! I do use addthis! And YES! That was it!  I changed the argument to false, because honestly, NO ONE looks at my blog!

Wow, I've been racking my brain over that for MONTHS!  Thank you very much!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines