I don't think there is any built-in escaping mechanism, so I think you
would just have to escape the colon yourself in this case.

On Wed, May 17, 2017 at 12:35 PM, David Konsumer <david.konsu...@gmail.com>
wrote:

> I guess I can just encodeURI it or something, but I hoped there might be a
> built-in way to escape ":"
>
>
> On Wednesday, May 17, 2017 at 12:15:36 PM UTC-7, David Konsumer wrote:
>>
>> I have made a protoc plugin that handles some options, in the format:
>>
>> protoc -I $PROTO --postman_out=name=cool,base=$URL:out
>> $PROTO/services.proto
>>
>> to get the options "name" and "base"
>>
>> If "base" is a standard url (ie https://google.com) it has a colon in
>> it, which makes protoc think it's the output dir. Is there a way to escape
>> colons in the options?.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to protobuf+unsubscr...@googlegroups.com.
> To post to this group, send email to protobuf@googlegroups.com.
> Visit this group at https://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to