revGoURL "mailto" bug ?

stephen barncard stephenREVOLUTION2 at barncard.com
Thu Oct 25 02:33:15 EDT 2012


percent %   is     %25

it's just hex ascii....

On Wed, Oct 24, 2012 at 11:32 PM, stephen barncard <
stephenREVOLUTION2 at barncard.com> wrote:

> yeah, replace the entities for this email stuff.... 'the usual suspects'
> won't work unless escaped or translated.
>
> function fixURL pURL
> replace ":" with "%3A" in pURL
>  replace "?" with "%3F" in pURL
> replace "/" with "%2F" in pURL
>         replace "<" with "%3C" in pURL
>          replace ">" with "%3E" in pURL
> replace "&" with "%26" in pURL
>  return pURL
> end fixURL
>
>
> On Wed, Oct 24, 2012 at 10:41 PM, Bob Earp <rjearp at hotmail.com> wrote:
>
>> I'm using revGoURL to send eMails to Apple Mail as follows;
>>
>> put "mailto:?"& lSubjectTxt & "&" & lAddresses & "&" & lBodyTxt into
>> lMailMsg
>> revGoURL lMailMsg
>>
>> It all works OK except that if I use an ampersand "&" or a percentage
>> sign "%" in lBodyTxt then revGoURL will not send lMailMsg to the mail
>> client (Apple Mail).  If I stick to plain text everything works fine. There
>> may be other symbols that create the problem, but these are the two I have
>> found to date.
>>
>> Anybody got any ideas ?
>>
>> Thanks, Bob...
>>
>>
>> Bob Earp
>> White Rock, British Columbia.
>>
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
>
> --
>
>
>
> Stephen Barncard
> San Francisco Ca. USA
>
> more about sqb  <http://www.google.com/profiles/sbarncar>
>
>


-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  <http://www.google.com/profiles/sbarncar>



More information about the use-livecode mailing list