Re: [protobuf] Re: protoc escape colon in options

2017-05-26 Thread David Konsumer
This is the same conclusion I came to. Urlencoding works great. Thanks! -- 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

[protobuf] Re: protoc escape colon in options

2017-05-17 Thread David Konsumer
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 --post

[protobuf] protoc escape colon in options

2017-05-17 Thread David Konsumer
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 out