Util.HrefEncode should encode ampersands
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Util.HrefEncode should encode ampersands Expand / Collapse
Author
Message
Post #16026 Posted 1/26/2007 3:58:28 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Customers
Last Login: 7/14/2007 7:51:12 PM
GenoPro Version: 2.0.0.7
Posts: 17, Visits: 47
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.
Post #16044 Posted 1/27/2007 9:38:04 AM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 8:09:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523, Visits: 14,878
If you want to encode all the characters in the URL, use Util.UrlEncode.  The ampersand (&) will be encoded as %26.

« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 7:12 PM

Copyright 1998-2008 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.