Skip to content

Open html file instead of download it. #14265

Description

@nininia

Need to download html file from nextcloud directory. I see file preview instead of getting file on my system. Only one way to download it is to put html file to directory and download this directory.

Steps to reproduce

  1. Push three points near file name to open list of file possibilities
  2. Check 'Download'

Expected behaviour

File is downloaded to my system

Actual behaviour

Preview of the file appears

Nextcloud configuration:

'*', 'secret' => '*', 'trusted_domains' => array ( 0 => 'localhost', 1 => '*', 2 => '*', ), 'datadirectory' => '/var/www/html/nextcloud/data', 'overwrite.cli.url' => 'http://localhost', 'dbtype' => 'mysql', 'version' => '15.0.0.10', 'dbname' => 'nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'oc_apache', 'dbpassword' => '*', 'installed' => true, 'instanceid' => '*', 'ldapIgnoreNamingRules' => false, 'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory', 'updater.release.channel' => 'beta', 'loglevel' => 0, 'logfile' => '/var/log/nclog.log', 'log_type' => 'file', 'debug' => true, 'maintenance' => false, 'theme' => '', 'enable_previews' => true, 'enabledPreviewProviders' => array ( 0 => 'OC\\Preview\\Image', 1 => 'OC\\Preview\\MP3', 2 => 'OC\\Preview\\TXT', 3 => 'OC\\Preview\\PDF', 4 => 'OC\\Preview\\Movie', 5 => 'OC\\Preview\\Photoshop', 6 => 'OC\\Preview\\TIFF', 7 => 'OC\\Preview\\SVG', 8 => 'OC\\Preview\\OpenDocument', ), 'trusted_proxies' => array ( 0 => '*.*.*.*', ), 'overwrite.cli.url' => 'http://localhost', 'overwriteprotocol' => 'https', 'overwritecondaddr' => '^***\\.***\\.***\\.***$', );

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions