Hey Douglas--

So we looked into this briefly and realized that a colon is a reserved
character in URLs and thus is meant to be escaped whenever its not
used in the first protocol part. Is there a reason your server isn't
doing proper URL escaping?

- pamela

On Thu, Sep 25, 2008 at 1:20 AM, pamela (Google Employee)
<[EMAIL PROTECTED]> wrote:
> Hey Douglas-
>
> Replicated, shared with team, and filed a issue externally for you to
> track: http://code.google.com/p/gmaps-api-issues/issues/detail?id=717
>
> - pamela
>
>
> On Tue, Sep 23, 2008 at 11:49 AM, Barry Hunter
> <[EMAIL PROTECTED]> wrote:
>>
>> Same here:
>>
>> http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/CrosshairsDemo/CrosshairsControlDemo.swf?url=http://www.test.com
>>
>> vs
>>
>> http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/CrosshairsDemo/CrosshairsControlDemo.swf?url=http//www.test.com
>>
>> (Chrome on XP)
>>
>> On Tue, Sep 23, 2008 at 4:54 PM, Douglas <[EMAIL PROTECTED]> wrote:
>>>
>>> Sorry, I had escaped the colon in the test file to test whether it
>>> worked and forgot to restore the unescaped version.
>>> Please try it now.
>>>
>>> On Sep 22, 11:48 pm, "pamela (Google Employee)" <[EMAIL PROTECTED]>
>>> wrote:
>>>> Hi Douglas-
>>>>
>>>> I tried out both those pages and they work equally well for me. Does
>>>> it fail for you in all browsers? All computers?
>>>>
>>>> - pamela
>>>>
>>>> On Sat, Sep 20, 2008 at 4:57 PM, Douglas <[EMAIL PROTECTED]> wrote:
>>>>
>>>> >http://web.mac.com/douglas.mackenzie/milesbetter/flex/MapSimple.html
>>>> > The variable testUrl is shown at the top (www.test.com)
>>>>
>>>> >http://web.mac.com/douglas.mackenzie/milesbetter/flex/MapSimpleWithCo...
>>>> > Again the variable testUrl is shown at the top (http://www.test.com)
>>>>
>>>> > Everything is identical apart from the value of testUrl.
>>>>
>>>> > On Sep 20, 4:48 pm, Douglas <[EMAIL PROTECTED]> wrote:
>>>> >> Hi Pamela,
>>>>
>>>> >> My hope was that someone else would append the URL query string with a
>>>> >> variable containing a colon in the value and see whether the API
>>>> >> failed on a page of their own.
>>>>
>>>> >> I will put an example on a test server now and reply when it's live.
>>>>
>>>> >> Thanks
>>>>
>>>> >> Doug
>>>>
>>>> >> Okay here's actual files
>>>>
>>>> >> On Sep 20, 4:18 pm, "pamela (Google Employee)" <[EMAIL PROTECTED]>
>>>> >> wrote:
>>>>
>>>> >> > Hi Douglas-
>>>>
>>>> >> > Instead of giving links to my mydomain.com, can you instead give links
>>>> >> > to your actual domain and SWF showing the problem? That'd make it much
>>>> >> > easier to confirm your findings.
>>>>
>>>> >> > Thanks!
>>>> >> > - pamela
>>>>
>>>> >> > On Sat, Sep 20, 2008 at 1:52 PM, Douglas <[EMAIL PROTECTED]> wrote:
>>>>
>>>> >> > > The problem doesn't occur if FlashVars are used instead.
>>>>
>>>> >> > > Unfortunately, that doesn't help my situation as I have no control
>>>> >> > > over the query string or whether FlashVars is used...
>>>>
>>>> >> > > On Sep 20, 1:42 pm, Douglas <[EMAIL PROTECTED]> wrote:
>>>> >> > >> Hi everyone,
>>>>
>>>> >> > >> I think I've found a bug which occurs when passing variables in to 
>>>> >> > >> a
>>>> >> > >> SWF containing the Flash API.
>>>>
>>>> >> > >> The map API works fine when variables are passed into the SWF on 
>>>> >> > >> the
>>>> >> > >> query string as in the example below:
>>>>
>>>> >> > >>http://www.mydomain.com/MapSimple.swf?testVariables=goHere
>>>>
>>>> >> > >> If however there is a colon in the query string such as:
>>>>
>>>> >> > >>http://www.mydomain.com/MapSimple.swf?testUrl=http//:www.test.com
>>>>
>>>> >> > >> The map API fails.
>>>>
>>>> >> > >> This has been driving me mad as I have no control over the query
>>>> >> > >> string on my client's server. A number of variables are added
>>>> >> > >> automatically including some URLs. I've been pulling my hair out
>>>> >> > >> trying to work out why the map works perfectly on the test server 
>>>> >> > >> but
>>>> >> > >> fails on the live server.
>>>>
>>>> >> > >> Can anyone else confirm these findings?
>>>>
>>>> >> > >> If my theory is correct is there any chance someone at Google could
>>>> >> > >> investigate the issue?
>>> >
>>>
>>
>>
>>
>> --
>> Barry
>>
>> - www.nearby.org.uk - www.geograph.org.uk -
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to