<div>Hello, ownCloud.</div><div><br></div><div>I was investigating the "PDF Viewer is not working" report [1].</div><div>And I have found that all default actions specified in full form as app/mime will not work for OC 4.x since all data-mime attributes are postfixed with the ; character while actions triggered by mimepart work fine.</div>
<div><br></div><div>Thus,</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><b> FileActions.register('application/pdf;','Edit','',function(filename){</b></div><div>
<b><br></b></div></blockquote><div>will work but</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><b>FileActions.register('application/pdf','Edit','',function(filename){</b></div>
<div><b><br></b></div></blockquote><div>won't.</div><div><br></div><div>For now I have fixed it locally by adding to <b>FileActions.getDefault </b>function</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><b>mime = mime.replace(';', '');</b></div><div><b><br></b></div></blockquote><div>as the very first line but I would like to know what is the <span style="font-size:13px;background-color:rgb(255,255,255);font-family:arial,sans-serif;white-space:nowrap">purpose for this suffix? </span></div>
<div><br></div><div>[1] <a href="http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-917">http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-917</a></div><div><br></div><div><br></div><div>---</div><div>Best regards,</div>
<div>Victor Dubiniuk</div><div><br></div><br>