Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore cookie sandbox #26

Closed
dstillman opened this issue Jul 26, 2018 · 3 comments
Closed

Restore cookie sandbox #26

dstillman opened this issue Jul 26, 2018 · 3 comments

Comments

@dstillman
Copy link
Member

First step: make sure we still need it by finding a site where it makes a difference

@mvolz
Copy link
Contributor

mvolz commented Aug 6, 2018

Found one!

curl -d 'http://www.bioone.org/doi/abs/10.1642/0004-8038%282005%29122%5B0673%3APROAGP%5D2.0.CO%3B2' -H 'Content-Type: text/plain' http://127.0.0.1:1969/web

returns

[{"key":"XGW6M2GM","version":0,"itemType":"webpage","url":"http://www.bioone.org/doi/abs/10.1642/0004-8038%282005%29122%5B0673%3APROAGP%5D2.0.CO%3B2","title":"An Error Occurred Setting Your User Cookie","accessDate":"2018-08-06T13:38:57Z"}]

@mvolz
Copy link
Contributor

mvolz commented Aug 6, 2018

And in translation-server it works fine:

curl -d '{"url":"http://www.bioone.org/doi/abs/10.1642/0004-8038%282005%29122%5B0673%3APROAGP%5D2.0.CO%3B2","sessionid":"abc123"}' --header "Content-Type: application/json" localhost:1969/web

[{"itemType":"journalArticle","creators":[{"firstName":"Nathan H.","lastName":"Rice","creatorType":"author"},{"firstName":"R. M.","lastName":"Zink","creatorType":"author"}],"notes":[],"tags":[],"title":"Phylogenetic relationships of antpitta genera (passeriformes: formicariidae)","date":"April 1, 2005","DOI":"10.1642/0004-8038(2005)122[0673:PROAGP]2.0.CO;2","publicationTitle":"The Auk","journalAbbreviation":"The Auk","pages":"673-683","volume":"122","issue":"2","ISSN":"0004-8038","url":"http://www.bioone.org/doi/abs/10.1642/0004-8038%282005%29122%5B0673%3APROAGP%5D2.0.CO%3B2","abstractNote":"Phylogenetic relationships among the antpitta genera were studied using DNA sequence data from the mitochondrial genome. The clade representing the traditional �antpitta� genera (Grallaria, Grallaricula, Hylopezus, Myrmothera, and Pittasoma) was found to be paraphyletic, owing to the sister relationship of Pittasoma and Conopophaga. In a previously unreported relationship, Pittasoma was strongly supported as the sister genus to Conopophaga (Conopophagidae). The remaining antpitta genera form a fully resolved and well-supported monophyletic lineage with two major subclades. The first clade consists of the genus Grallaria and supports the subgenera identified by Lowery and O'Neill (1969). The second antpitta clade has Hylopezus as the sister genus to Myrmothera, with Grallaricula as their sister genus. The results here allow for a new interpretation of the morphological characters used in previous studies.","libraryCatalog":"bioone.org (Atypon)","accessDate":"CURRENT_TIMESTAMP","shortTitle":"Phylogenetic relationships of antpitta genera (passeriformes"}]

@dstillman
Copy link
Member Author

Good find! Should be fixed in the latest. (Note that, @adomasven says, BioOne seems to return an empty response some of the time. I couldn't reproduce that in the client, so not sure what's going on there.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants