Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Google staticmaps <img> example encoded enough?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jida...@jidanni.org  
View profile  
 More options Jan 17, 10:29 pm
Newsgroups: comp.infosystems.www.authoring.html
From: jida...@jidanni.org
Date: Wed, 18 Jan 2012 11:29:04 +0800
Local: Tues, Jan 17 2012 10:29 pm
Subject: Google staticmaps <img> example encoded enough?
Gentlemen, at
http://code.google.com/apis/maps/documentation/staticmaps/#EncodedPol...
we observe the Google authors embedding plenty of dubious raw characters
into their <img> tag, <img src= ... }vXaj\h`]ovs@?yi_@r ... alt="Alaska Highway" />
My question is should I just do like them, or should I first run my
string through (which) one of
http://www.w3.org/TR/xpath-functions/#func-encode-for-uri
http://www.w3.org/TR/xpath-functions/#func-iri-to-uri
http://www.w3.org/TR/xpath-functions/#func-escape-html-uri ?
I mean how can I doubt Google?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jida...@jidanni.org  
View profile  
 More options Jan 19, 12:04 am
Newsgroups: comp.infosystems.www.authoring.html
From: jida...@jidanni.org
Date: Thu, 19 Jan 2012 05:04:15 +0000 (UTC)
Local: Thurs, Jan 19 2012 12:04 am
Subject: Re: Google staticmaps <img> example encoded enough?
OK, I'll pick encode-for-uri()! as only it zaps "@", which is not
allowed, according to
http://en.wikipedia.org/wiki/Query_string#URL_encoding
(despite http://tools.ietf.org/html/rfc3986 saying
   pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"
   query         = *( pchar / "/" / "?" )
)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »