First time here? Check out the FAQ!
0

Errors with askbot over SSL / https
 

I have got many problems when I using askbot over SSL (https://...)

At firsts, there are some URLS which use fixed "http://" in templates and javascript like fonts, and post.js. I change all urls to allow to // (without protocol).

However. When I click in share in twitter icon, post.js try to get tiny url from http://json-tinyurl.appspot.com . I change post.js and I can see in chrome that the newest file is loaded. I change dataType to "jsonp" too.

Google Chrome report this error in development console:

The page at https://... ran insecure content from http://json-tinyurl.appspot.com/.

I'm using 0.7.43 and 0.7.44 versions but is present in master branch too.

https://github.com/ASKBOT/askbot-devel/blob/master/askbot/media/js/post.js#L2049

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
ant30's avatar
21
ant30
asked 12 years ago

Comments

see more comments

1 Answer

0

I think all urls were changed to the protocol relative. Just checked source of this page and only found mathjax url as protocol-fixed, but it is from the live settings. Regarding the tinyurl service - I've disabled it, b/c it is not reliable. On which pages exactly do you see those problem urls and what version of askbot you have?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago
link

Comments

see more comments