You were exactly right. Altering the dspace.cfg line to be webui.content_disposition_threshold = -1 xmlui.content_disposition_threshold = -1
resulted in the PDF opening in-line Thank you On Tue, 2014-09-09 at 17:07 +1200, Andrea Schweer wrote: > Hi Keir, > > On 09/09/14 16:53, Keir Vaughan-Taylor wrote: > > In once instance there are multiple PDFs in a submission all of which > > appear in a browser correctly but one of them instead presents an > > external dialogue requesting what PDF reader should be used. > > Is the file that presents the dialogue the largest file of them all, by > any chance? You don't say what version of DSpace you're using, but have > a look at this configuration option for DSpace 4.2: > https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L1447 > > You might like to read up on the Content-Disposition HTTP header: > http://stackoverflow.com/questions/1395151/content-dispositionwhat-are-the-differences-between-inline-and-attachment > Essentially, the DSpace setting decides from which size onwards it will > send disposition=attachment rather than disposition=inline > > I believe some browsers / browser plug-ins ignore the > content-disposition flag and make their own decision on which one to use. > > cheers, > Andrea > -- Keir Vaughan-Taylor ERA DSpace Administrator Rm:123 Fisher Library University of Sydney [email protected] ph:+61 2 9351 7408 mb:+61 434 606 885 ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce. Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

