Skip to content
This repository was archived by the owner on Mar 7, 2022. It is now read-only.

Commit 2327c95

Browse files
committed
encodeURIComponent for email body thanks to @overovermind
1 parent ee70c9c commit 2327c95

5 files changed

+9
-9
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-socialshare",
3-
"version": "2.3.7",
3+
"version": "2.3.8",
44
"description": "A social media url and content share module for angularjs.",
55
"authors": [
66
"Filippo Oretti <[email protected]",

dist/angular-socialshare.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
22
* angular-socialshare
3-
* 2.3.7
3+
* 2.3.8
44
*
55
* A social media url and content share module for angularjs.
66
* http://720kb.github.io/angular-socialshare
77
*
88
* MIT license
9-
* Sat Feb 18 2017
9+
* Tue May 02 2017
1010
*/
1111
/*global angular*/
1212
/*eslint no-loop-func:0, func-names:0*/
@@ -536,7 +536,7 @@
536536

537537
if (attrs.socialshareBody) {
538538

539-
urlString += 'body=' + attrs.socialshareBody;
539+
urlString += 'body=' + encodeURIComponent(attrs.socialshareBody);
540540
}
541541

542542
if (attrs.socialshareSubject) {

0 commit comments

Comments
 (0)