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

Save API failing to work because it strips the double-slash #2

Open
anjackson opened this issue Jun 26, 2019 · 0 comments
Open

Save API failing to work because it strips the double-slash #2

anjackson opened this issue Jun 26, 2019 · 0 comments

Comments

@anjackson
Copy link
Contributor

Requests like

https://beta.webarchive.org.uk/save/https%3A%2F%2F%2Fwww.bl.uk%2Fbritishlibrary%2F~%2Fmedia%2Fbl%2Fglobal%2Fabout%2520us%2Ffreedom%2520of%2520information%2Fpublication%2520scheme%2F4%2520decisions%2Fboard%2520meetings%2Fboard%2520meetings%25202018%2F180227-368%2Fblb%25201803.pdf

get response like

{
  "result": {
    "ia": {
      "event": "save-page-now",
      "reason": "OK",
      "status": 200
    },
    "ukwa": {
      "event": "save-page-now",
      "reason": "Crawl Requested",
      "status": 201
    }
  },
  "url": "https:/www.bl.uk/britishlibrary/~/media/bl/global/about%20us/freedom%20of%20information/publication%20scheme/4%20decisions/board%20meetings/board%20meetings%202018/180227-368/blb%201803.pdf"
}

i.e. https:/www. so something is stripping the slashes.

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

No branches or pull requests

1 participant