scieloorg / scielo-opds

OPDS for SciELO
6 stars 4 forks source link

ID da editora decodificado em algumas páginas causa quebra em clientes OPDS #14

Closed gustavofonseca closed 11 years ago

gustavofonseca commented 11 years ago

Exemplo de ID que causa o bug: http://opds.books.scielo.org/opds/publisher/EDITORA%20FIOCRUZ?page=2

<atom:link href="/opds/publisher/EDITORA FIOCRUZ" type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="self"/>
  <atom:link href="/opds/publisher/EDITORA FIOCRUZ?page=1" type="application/atom+xml;profile=opds-catalog;kind=acquisition" rel="first"/>
  <atom:link href="/opds/publisher/EDITORA FIOCRUZ?page=1" type="application/atom+xml;profile=opds-catalog;kind=acquisition" rel="previous"/>
  <atom:link href="/opds/publisher/EDITORA FIOCRUZ?page=3" type="application/atom+xml;profile=opds-catalog;kind=acquisition" rel="next"/>
  <atom:link href="/opds/publisher/EDITORA FIOCRUZ?page=5" type="application/atom+xml;profile=opds-catalog;kind=acquisition" rel="last"/>

Exemplo de ID correto: http://opds.books.scielo.org/opds/publisher/EDITORA%2520FIOCRUZ

<atom:link href="/opds/publisher/EDITORA%20FIOCRUZ" type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="self"/>
  <atom:link href="/opds/publisher/EDITORA%20FIOCRUZ?page=2" type="application/atom+xml;profile=opds-catalog;kind=acquisition" rel="next"/>
  <atom:link href="/opds/publisher/EDITORA%20FIOCRUZ?page=5" type="application/atom+xml;profile=opds-catalog;kind=acquisition" rel="last"/>
allisonvoll commented 11 years ago

Corrigido com o pull request https://github.com/scieloorg/scielo-opds/pull/15