aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-01-23 11:16:12 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-01-23 11:16:12 +0100
commit15f35b6a2d36e48b9c2d9acb175dbe392331964e (patch)
tree1b2ba487ffea8684e56b3cd1025f67b9f366cb71 /data
parent5f7bb4f42c4167ff5ac74d465faa36f000fc9d5e (diff)
parent7156a646b28dbdd848fe39acce3e9ba67d880410 (diff)
Merge pull request #767 from ealdraed/fix/share/email
Fix double quotes not escaped in RSS title (share by email)
Diffstat (limited to 'data')
-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(