{"action":"closed","issue":{"url":"https://api.github.com/repos/owncloud/files_pdfviewer/issues/122","repository_url":"https://api.github.com/repos/owncloud/files_pdfviewer","labels_url":"https://api.github.com/repos/owncloud/files_pdfviewer/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/files_pdfviewer/issues/122/comments","events_url":"https://api.github.com/repos/owncloud/files_pdfviewer/issues/122/events","html_url":"https://github.com/owncloud/files_pdfviewer/issues/122","id":170464606,"number":122,"title":"Special Characters in Filename cause 404 File Not Found Error","user":{"login":"demaperera","id":11702548,"avatar_url":"https://avatars3.githubusercontent.com/u/11702548?v=4","gravatar_id":"","url":"https://api.github.com/users/demaperera","html_url":"https://github.com/demaperera","followers_url":"https://api.github.com/users/demaperera/followers","following_url":"https://api.github.com/users/demaperera/following{/other_user}","gists_url":"https://api.github.com/users/demaperera/gists{/gist_id}","starred_url":"https://api.github.com/users/demaperera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demaperera/subscriptions","organizations_url":"https://api.github.com/users/demaperera/orgs","repos_url":"https://api.github.com/users/demaperera/repos","events_url":"https://api.github.com/users/demaperera/events{/privacy}","received_events_url":"https://api.github.com/users/demaperera/received_events","type":"User","site_admin":false},"labels":[{"id":96864800,"url":"https://api.github.com/repos/owncloud/files_pdfviewer/labels/bug","name":"bug","color":"fc2929","default":true},{"id":158097828,"url":"https://api.github.com/repos/owncloud/files_pdfviewer/labels/needs%20info","name":"needs info","color":"0b02e1","default":false},{"id":126566663,"url":"https://api.github.com/repos/owncloud/files_pdfviewer/labels/p4-low","name":"p4-low","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/owncloud/files_pdfviewer/milestones/90","html_url":"https://github.com/owncloud/files_pdfviewer/milestone/90","labels_url":"https://api.github.com/repos/owncloud/files_pdfviewer/milestones/90/labels","id":2612212,"number":90,"title":"development","description":null,"creator":{"login":"PVince81","id":277525,"avatar_url":"https://avatars2.githubusercontent.com/u/277525?v=4","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2017-06-29T13:42:27Z","updated_at":"2018-05-03T21:56:03Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-08-10T16:47:44Z","updated_at":"2018-05-03T21:56:03Z","closed_at":"2018-05-03T21:56:03Z","author_association":"NONE","body":"**ownCloud v9** - Clicking the PDF file named _'ownCloud Manual'_ causes a 404 File Not Found error in pdf.js. Renaming the file to _'ownCloud'_ (without spaces) causes it to display correctly in the viewer. A weird layout issue also happens when this error is thrown, see the screenshot below.\n\n![screen shot 2016-08-10 at 10 16 19 pm](https://cloud.githubusercontent.com/assets/11702548/17562353/2396bb64-5f48-11e6-8732-716982be6f35.png)\n\nError in Chrome Console:\n`http://cloud.perera.io/index.php/core/preview.png?file=%2FownCloud+Manual.pdf&x=75&y=75&c=3cdd2e6fe60ed8561ba7b744b6c7cc1b&forceIcon=0 Failed to load resource: the server responded with a status of 404 (Not Found)\n`\n\nSince both _'+'_ and _'%20'_ are the URL equivalents of white spaces I cannot think of why a 404 error is being thrown. \n\nPlease note that the PDF document correctly renders and displays when using a single word as the filename without special characters or white spaces.\n\nThis issue is present every time I do a clean installation of ownCloud, upload multiple PDF files and try to open them.\n"}}
{"actor":{"display_login":"felixboehm"}}