Loading...
 
Skip to main content

Page link in email is broken if link contains spaces

Status
Closed
Subject
Page link in email is broken if link contains spaces
Version
2.x
Category
  • Error
Feature
Tell a Friend / Social Bookmarking
Resolution status
Fixed or Solved
Submitted by
Rick Sapir / Tiki for Smarties
Lastmod by
Rick Sapir / Tiki for Smarties
Rating
(0)
Description

If you send a Tell a Friend link from a wiki page that has spaces in the page name, the link in the email is broken. For example, you'll get:

http://www.tikiwiki.org/tiki-index.php?page=tell a friend

Confirmed on latest SVN as of 04/22/2008

Solution

The link should be encoded as follows:
http://www.tikiwiki.org/tiki-index.php?page=tell+a+friend

So that it won't appear broken in the email.


Template will now replace spaces with +.
SVN 1.10,Apr 24,2008
ricks99

Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1716
Created
Monday 21 April, 2008 10:28:06 UTC
by Unknown
LastModif
Sunday 18 June, 2017 23:01:14 UTC


Show PHP error messages