summaryrefslogtreecommitdiff
path: root/data/shares.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-31 14:45:37 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-31 14:45:37 +0100
commita97bbd9bd54c5fa56d54b3c214cf4e8af96af8b2 (patch)
tree6e83890bc1b3814a12c3b7bedc0d5944f30f507b /data/shares.php
parent42fd539a1b14f883077048a35864b4294b6efe94 (diff)
parente91b72b63cd11ae3c4f59e48439e93955242c673 (diff)
Merge branch 'dev'
Conflicts: CHANGELOG README.fr.md README.md app/Controllers/feedController.php app/Controllers/indexController.php app/i18n/en.php app/i18n/fr.php app/views/helpers/view/normal_view.phtml app/views/stats/index.phtml app/views/stats/repartition.phtml constants.php p/scripts/main.js
Diffstat (limited to 'data/shares.php')
-rw-r--r--data/shares.php15
1 files changed, 6 insertions, 9 deletions
diff --git a/data/shares.php b/data/shares.php
index 44176f1bf..6e0e9ea0c 100644
--- a/data/shares.php
+++ b/data/shares.php
@@ -19,7 +19,7 @@
return array(
'shaarli' => array(
'url' => '~URL~?post=~LINK~&amp;title=~TITLE~&amp;source=FreshRSS',
- 'transform' => array('urlencode'),
+ 'transform' => array('rawurlencode'),
'help' => 'http://sebsauvage.net/wiki/doku.php?id=php:shaarli',
'form' => 'advanced',
),
@@ -40,31 +40,28 @@ return array(
),
'diaspora' => array(
'url' => '~URL~/bookmarklet?url=~LINK~&amp;title=~TITLE~',
- 'transform' => array('urlencode'),
+ 'transform' => array('rawurlencode'),
'help' => 'https://diasporafoundation.org/',
'form' => 'advanced',
),
'twitter' => array(
'url' => 'https://twitter.com/share?url=~LINK~&amp;text=~TITLE~',
- 'transform' => array('urlencode'),
+ 'transform' => array('rawurlencode'),
'form' => 'simple',
),
'g+' => array(
'url' => 'https://plus.google.com/share?url=~LINK~',
- 'transform' => array('urlencode'),
+ 'transform' => array('rawurlencode'),
'form' => 'simple',
),
'facebook' => array(
'url' => 'https://www.facebook.com/sharer.php?u=~LINK~&amp;t=~TITLE~',
- 'transform' => array('urlencode'),
+ 'transform' => array('rawurlencode'),
'form' => 'simple',
),
'email' => array(
'url' => 'mailto:?subject=~TITLE~&amp;body=~LINK~',
- 'transform' => array(
- 'link' => array('urlencode'),
- 'title' => array(),
- ),
+ 'transform' => array('rawurlencode'),
'form' => 'simple',
),
'print' => array(