Closed (duplicate)
Project:
Service links
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2012 at 20:20 UTC
Updated:
28 Apr 2013 at 16:59 UTC
I want to add a service link to the russian network "odnoklassniki" on my drupal page.
After some research i found some information, which made me create a new service "i named that thing russian_services2.module", but i really think it should also be added to the russian services of the module by default.
$links['odnoklassniki'] = array(
'name' => 'Odnoklassniki',
'description' => t('Поделиться с друзьями'),
'link' => 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st._surl=<encoded-url>',
'icon' => 'odnokl.png',
);
For some reason the link created on the node page looks like this:
http://www.odnoklassniki.ru/dk?st_cmd=addShare&st_s=1&st__surl=http%3A//www.come-alps.com/en/content/home
Can someone please tell my why the dots in my link definition get replaced by a '_'? After replacing the link gets to an error page of the odnoklassniki page.
I've already tried to encode the dot (using %2E) without success...
Comments
Comment #1
Niko_K commentedComment #2
Mulder commentedHi, Niko_K!
I'm stuck with this dots issue too. Did you solve this problem yet?
Comment #3
simon georges commentedCross-referencing #1825036: seoigg.de service not working OR Not all services support elipses [...] in the link and moving to -dev to give the issue some visibility.
Comment #4
TheCrow commentedHere the patch (#9): #1825036: seoigg.de service not working OR Not all services support elipses [...] in the link
Here a live test: http://servicelinks.altervista.org/?q=service/odnoklassniki