Jens Tröger

Results 121 comments of Jens Tröger

> Can you explain why the user needs to unpack the data URL string? If the data URL is valid then the user will take that URL and unpack the...

Maybe a bit context on how I use Colander. Suppose I define a schema ```python class SomeRequestSchema(colander.MappingSchema): data_url = colander.SchemaNode( colander.String(), validator=colander.DataURL, ) ``` then the `request.validated` (managed by [Cornice](https://github.com/Cornices/cornice)’s...

> In Deform you can try the demo to see what it does, and look at its source code: > > https://deformdemo.pylonsproject.org/textinput/ > > Enter: > > `data:image/png;base64,abcde...xyz==` > >...

> Do you intend to use the bytes for something other than inline HTML? Oh… this has nothing with HTML! I actually have users who want to send a data...

> My only concern is that the capture should contain the original submitted value and be easily consumable, similar to regular URLs and emails. Agreed. > > Or we leave...

Ah, yes that’s needed to know whether the data itself is plain or Base64-encoded. It’s the second group in the `DATA_URL_REGEX` ```python # https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs DATA_URL_REGEX = ( # data: (required)...

Sure. There are actually two similar instances of this issue, both originating from the debug toolbar (latest version of Pyramid as of today). ``` Traceback (most recent call last): File...

I've used my own `schema=AddSingleFileSchema` with ``` class AddSingleFileSchema(colander.MappingSchema): filename = colander.SchemaNode(colander.String) filetype = colander.SchemaNode( colander.String(), validator=colander.OneOf(['doc', 'text']), ) ``` And depending on the request I send I can provoke...

Thanks @liZe! Good to know that these glyphs _can_ be rendered, then maybe something went awry when I specified/loaded the font. Is there a way of getting some debug information...

@lukehoban, I think that would be useful. I am developing a static website based on the [`aws-ts-static-website`](https://github.com/pulumi/examples/tree/master/aws-ts-static-website) template. I would like to… - First I’d like to develop & test...