Safari Downloads Pdf As Html Link
Nov 2, 2017 - Exports download as page.dms, html.dms, or plaintext.dms when using Safari. Click any of the export links. When I export a page my installation, the downloaded file is named 'html.dms', 'plaintext.dms' and 'pdf.dms'.
For Bug Reports • BookStack Version: BookStack v0.18.4 • PHP Version: PHP 7.0.22-0ubuntu0.16.04.1 • MySQL Version: mysql Ver 14.14 Distrib 5.7.20, for Linux (x86_64) using EditLine wrapper Expected Behavior Exports should be downloaded with the correct file extension (.pdf,.html,.txt) Current Behavior Exports download as page.dms, html.dms, or plaintext.dms when using Safari Version 11.0 (12604.1.38.1.7). If I change the extension after the file is downloaded, it opens correctly.
It also exports correctly using Chrome. Steps to Reproduce Install using the Ubuntu 16.04 script. Create a new book/page. Click any of the export links. : Hi Dan, I can confirm that the issue still exists when using Safari on a Mac, and that the downloaded file names are correct when using FireFox. However, the download of files from other apps or websites works as expected – even in Safari.
1)Plug the VAG Tacho 3.01 interface into your vehicle’s OBDII diagnostic port 2) Plug the USB cable from the other end of the interface into your Computer’s USB port. 3)Windows will attempt to install the correct USB drivers for the interface, but will not able to locate the correct drivers. Vag-Tacho USB v.3.01 is a software program developed by OBDtool.Org. The setup package generally installs about 6 files and is usually about 2.12 MB (2,224,463 bytes). Relative to the overall usage of users who have this installed on their PCs, most are running Windows XP and Windows 7 (SP1). Vag-Tacho USB v.3.01. Vag-Tacho USB is a Windows program that helps you install the Vag-Tacho drivers on you computer. You have to connect the OBD connector to car diagnostic socket. Then connect hardware interface to any USB port of your Pc.The program will try to connects any kombi and will display type of the kombiinstrument. Vag-Tacho USB v.3.01 can be installed on Windows XP/Vista/7/8/10 environment, 32-bit version. Vag-Tacho USB is a Windows program that helps you install the Vag-Tacho drivers on you computer. You have to connect the OBD connector to car diagnostic socket. DIY Set up VAG Tacho 3.01 software on Windows 8 Got my vag tacho 3.0 cable on Saturday afternoon; spent a ton of time on research and trying to get the cable (usb to iso/usb to serial) drivers to work with windows 7 (took almost all night) and today, I got them to work in Windows 8.
Do you have any news on this? Cheers, Thomas Describe the bug When I export a page my installation, the downloaded file is named 'html.dms', 'plaintext.dms' and 'pdf.dms' depending on the export file type.
When I rename the downloaded file using the correct suffix, it opens up and is properly displayed. Steps To Reproduce Steps to reproduce the behavior: • Go to any page in any book or chapter • Click on export, select file type. • Look at the file in your download folder. Expected behavior The downloaded file should be named 'page title.file type' e.g. 'foo.pdf' Your Configuration (please complete the following information): • Exact BookStack Version (Found in settings): v0.23.0 • PHP Version: php -v returns the following: PHP 7.0.30-0ubuntu0.16.04.1 (cli) ( NTS ) • Client system: Mac OS Sierra 10.12.6 • Browser: Safari Version 11.1.1 Additional context At the moment users can easily work around as described above.
I ran into this same issue recently. The content disposition headers are missing a closing double quote after the file extension and Safari bugs out. The issue is easily resolved by modifying the content disposition headers for each export method in the following controllers: v0.22-dev app/Http/Controllers/BookController.php Change line 304 from 'Content-Disposition' => 'attachment; filename='. '.pdf' To 'Content-Disposition' => 'attachment; filename='. '.pdf' Change line 319 from 'Content-Disposition' => 'attachment; filename='. '.html' To 'Content-Disposition' => 'attachment; filename='. '.html' Change line 334 from 'Content-Disposition' => 'attachment; filename='.
'.txt' To 'Content-Disposition' => 'attachment; filename='. '.txt' app/Http/Controllers/ChapterController.php Change line 255 from 'Content-Disposition' => 'attachment; filename='. '.pdf' To 'Content-Disposition' => 'attachment; filename='. '.pdf' Change line 271 from 'Content-Disposition' => 'attachment; filename='.
'.html' To 'Content-Disposition' => 'attachment; filename='. '.html' Change line 287 from 'Content-Disposition' => 'attachment; filename='. '.txt' To 'Content-Disposition' => 'attachment; filename='. '.txt' app/Http/Controllers/PageController.php Change line 505 from 'Content-Disposition' => 'attachment; filename='.
'.pdf' To 'Content-Disposition' => 'attachment; filename='. '.pdf' Change line 522 from 'Content-Disposition' => 'attachment; filename='. '.html' To 'Content-Disposition' => 'attachment; filename='. '.html' Change line 538 from 'Content-Disposition' => 'attachment; filename='.
'.txt' To 'Content-Disposition' => 'attachment; filename='.