Print

Print


Dear Mathias,

What a pretty cat(ch)! Thanks for sharing :-)

Best regards,

   Piotr

On 03/10/17 14:26, Mathias Göbel wrote:
> Dear TEI-Community,
>
> thank you for offering an increasing number of documents stored in
> outstanding great databases like eXist-db and available via REST. Would
> those guys using eXist-db consider to capture&redirect the "_query"
> parameter (or at least a set of function names) to avoid offering an
> open proxy like in this example:
>
> https://tei2016app.acdh.oeaw.ac.at/data/?_query=xquery%20version%20%223.1%22;response:stream-binary(%20xs:base64Binary(%20data(httpclient:get(xs:anyURI(%22http://24.media.tumblr.com/tumblr_lt8vrdas9o1qb8xalo1_400.jpg%22),%20false(),%20())//httpclient:body))%20,%20%22image/jpg%22)
>
> If you are using Apache you might want to
>
>         RewriteEngine on
>         RewriteCond %{QUERY_STRING} _query=
>         RewriteRule (.*) $1? [R=permanent]
>
> Best,
> Mathias
> --
> Mathias Göbel
> Research and Development
>
> Georg-August-Universität Göttingen
> Göttingen State and University Library
> D-37070 Göttingen
>
> Papendiek 14 (hist. building, room 2.408
> <https://lageplan.uni-goettingen.de/?ident=7209_4_2.OG_2.408>)
> +49 551 39-20184 (Tel.)
> +49 551 39-33856 (Fax.)
>
> [log in to unmask] <mailto:[log in to unmask]>
> http://www.sub.uni-goettingen.de
>
> --

-- 
Piotr Bański, Ph.D.
Senior Researcher,
Institut für Deutsche Sprache,
R5 6-13
68-161 Mannheim, Germany