Re: HTML encoding in URLs

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14155
interpreted = N
texte = >The problem is (as stated in OmniWeb's post below) that URLs should be HTML-encoded, not ASCII. In other words, if something like &ne appears ANYWHERE in a HTML page, including inside the get string of a URL, it should be interpreted as ‚ (ie not equals). In other words, the following URL > > search > >should be interpreted as > > searchWe ran into this with an early WebCatalog that used &gr, which we changed to > for exactly this reason (Netscape tweaked it to >). We feel it is somewhat improper for a browser to convert unterminated (not followed by ;) escape strings.Here's a couple of workarounds:1) Use form method=POST instead of HREF hyperlinks 2) (probably the best) Use embedded [Search] contexts so that you never have to pass the &neWHATEVER text in a hyperlink. Instead, just pass the comparison text in a form variable, and embed [Search db=xx&neb=[VARIABLE]] right into your template. 3) Use WebCatalog's [browsername] tag to let you know when someone is using OmniWeb, and ask them to change their preferences for unterminated escape sequences.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: HTML encoding in URLs (Kenneth Grome 1997)
  2. Re: HTML encoding in URLs (Chris Gursche 1997)
  3. Re: HTML encoding in URLs (Grant Hulbert 1997)
  4. Re: HTML encoding in URLs (Thomas Wedderburn-Bisshop 1997)
  5. Re: HTML encoding in URLs (Grant Hulbert 1997)
  6. Re: HTML encoding in URLs (Kenneth Grome 1997)
  7. Fwd: Re: HTML encoding in URLs (Thomas Wedderburn-Bisshop 1997)
  8. HTML encoding in URLs (Thomas Wedderburn-Bisshop 1997)
>The problem is (as stated in OmniWeb's post below) that URLs should be HTML-encoded, not ASCII. In other words, if something like &ne appears ANYWHERE in a HTML page, including inside the get string of a URL, it should be interpreted as ‚ (ie not equals). In other words, the following URL > > search > >should be interpreted as > > searchWe ran into this with an early WebCatalog that used &gr, which we changed to > for exactly this reason (Netscape tweaked it to >). We feel it is somewhat improper for a browser to convert unterminated (not followed by ;) escape strings.Here's a couple of workarounds:1) Use form method=POST instead of HREF hyperlinks 2) (probably the best) Use embedded [search] contexts so that you never have to pass the &neWHATEVER text in a hyperlink. Instead, just pass the comparison text in a form variable, and embed [Search db=xx&neb=[VARIABLE]] right into your template. 3) Use WebCatalog's [browsername] tag to let you know when someone is using OmniWeb, and ask them to change their preferences for unterminated escape sequences.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

TCP/IP connect (1998) Alternating colors (1997) Multi Colonns (1998) Help with WebCatalog (1998) WriteFile wrong format (2003) Some Questions (1997) Hiccup ***** (1998) WebCat2 - many [carts] on one template page? (1997) Shownext on AOL (2003) exclamation mark... (1999) anyone moved to v6? (2004) Template Security error (1997) Separate SSL Server (1997) WebCat2: Items xx to xx shown, etc. (1997) Dubble Sku's in a Database (1999) Disappearing records (2002) auto adding SKUs w/DB helper (1998) More on the email templates (1997) Download (1999) Date range Problem (2006)