aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks')
-rw-r--r--mod/bookmarks/views/default/bookmarks/form.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/bookmarks/views/default/bookmarks/form.php b/mod/bookmarks/views/default/bookmarks/form.php
index 9372dc7cb..b72863841 100644
--- a/mod/bookmarks/views/default/bookmarks/form.php
+++ b/mod/bookmarks/views/default/bookmarks/form.php
@@ -22,6 +22,7 @@ if(isset($vars['entity'])){
//set some variables
$guid = '';
$title = get_input('title',"");
+ $title = stripslashes($title); // strip slashes from URL encoded apostrophes
$address = get_input('address',"");
$notes = '';
if ($address == "previous")
@@ -108,4 +109,4 @@ if(isset($vars['entity'])){
<input type="hidden" value="<?php echo $guid; ?>" name="guid" />
<input type="submit" onfocus="blur()" value="<?php echo elgg_echo('save'); ?>" />
</p>
-</form> \ No newline at end of file
+</form>