Simon Seyock

Results 77 comments of Simon Seyock

Hey i solved this with `new RegExp("/assets(/(css|js)($|\/)|$)")`

I would be interested to add support for typescript syntax, but I don't think I would want to write a whole new part of the software. The main thing why...

@brettz9 because I saw this post and I was curious to learn more about pratt-parsers, I just wrote one that parses jsdoc types. I used the carthasis test suites to...

I am working on typings for the mapping library openlayers ( https://github.com/openlayers/openlayers ) and especially generating typescript typings out of jsdoc. We had a problem that I was able to...

Assuming the called address is ``proxy.php?csurl=some.url`` and the request to ``some.url`` returns a redirect to ``other.url`` ``$_SERVER['REQUEST_URI']`` therefore contains ``proxy.php?csurl=some.url`` Current version: code: ``'Location: ' . $_SERVER['REQUEST_URI'] . '?csurl=' ....

This is quite a long time ago, but i think the point is that nothing needs to be replaced if there is no `csurl` in the address. Can't say what...

does your version retain other query parameters?

Might be better to name it 'Proxy-Forward-Authorization' as the use of the X- prefix is discouraged nowadays. (https://stackoverflow.com/questions/3561381/custom-http-headers-naming-conventions)

Well the result of `getAttributions()` is still handled like a string, which it isn't. I am currently working on enabling `noImplicitAny` maybe I can include a fix for this.

flake8 is an alternative. Maybe https://github.com/hhatto/autopep8 can be used?