GenoPro Home
|
Get Started With My Genealogy Tree
|
Buy
|
Login
|
Privacy
|
Search
|
Site Map
GenoPro Support Forum
Home
Search
Tags
Who's On
Welcome Guest
(
Login
|
Register
)
Recent Posts
Popular Topics
Home
»
GenoPro
»
Report Generator
»
Util.HrefEncode should encode ampersands
Util.HrefEncode should encode ampersands
Rate Topic
Topic View
Topic Options
Author
PEH
Posted Friday, January 26, 2007
-
Post #16026
Junior Member
Customers
Gamma
GenoPro version: 3.1.0.1
Last Login: Saturday, May 4, 2024
Posts: 15,
Visits: 65
Documentation
for
Util.HrefEncode
says "Since some characters are valid in URLs as delimiters, those characters are left alone", and includes ampersand as one of the characters left untouched. However,
http://www.w3.org/TR/xhtml1/#C_12
recommends that ampersands are actually encoded with the HTML entity (&
. This is especially important in
SVG
as the interpreter rejects URLs containing raw ampersands.
Edited:
Saturday, January 27, 2007 by
GenoProSupport
GenoProSupport
Posted Saturday, January 27, 2007
-
Post #16044
Legendary Master
Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1
Last Login: Thursday, January 16, 2025
Posts: 4,886,
Visits: 22,775
If you want to encode all the characters in the URL, use
Util.UrlEncode
. The ampersand (
&
) will be encoded as
%26
.
Edited:
Saturday, January 27, 2007 by
GenoProSupport
Similar Topics
Reading This Topic
Active: 4 - 1 guest, 2 members, 0 anonymous.
Online:
appleshaw
,
Howard53
Powered By InstantForum.NET 2010-3-x © 2025
Execution: 0.016.
5 queries.
Compression Enabled.
Search All Forums...
GO
Advanced Search
Rate Topic
Great
Good
Average
Bad
Poor
Rate This Topic
Flat Ascending
Flat Descending
Threaded
Subscribe To Topic
Print This Topic
Goto Topics Forum