You can escape &s with i think "\" or maybe "/"

On Mon, May 25, 2009 at 21:11, TjL <[email protected]> wrote:

>
> OK, so I'm doing something wrong here:
>
> curl -D - -s -u tj:SECKRET \
> -d "text=BstTwt: &#10085; @tj Her:&quot;The lightbulbs are over the
> dryer&quot; Me:&quot;The rooster flies east at dawn&quot;
> Her:&quot;What?&quot; Me: &quot;Oh, I thought we were talking like
> spies&quot; &user=tj"  http://twitter.com/direct_messages/new.xml
>
> That will go through with no error, HOWEVER, what actually gets sent
> is truncated at the first &
>
> (The same thing happens if there's a &amp; or &quot;)
>
> Soooo... what am I doing wrong?
>
> Or, "How can I get the entire message to go through?"
>
> I can't change it back, because if I switch &quot; into a " that will
> confuse this too.
>
> Thanks
>
> TjL
>



-- 
Abraham Williams | http://the.hackerconundrum.com
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.
Sent from San Francisco, California, United States

Reply via email to