Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Okular Okular
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 55
    • Merge requests 55
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GraphicsGraphics
  • OkularOkular
  • Merge requests
  • !316

More fine tuning of the mime of the opened file

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Albert Astals Cid requested to merge work/aacid/make_ruben_happy into release/20.12 Nov 13, 2020
  • Overview 1
  • Commits 1
  • Pipelines 2
  • Changes 1

In fba90677 we introduced a "if we're told this is a text file let's check the mime of the content only since text files never fail to open".

This extends it to anything that inherits from text now, so if you rename a PDF file to bla.php it still tries to open as a pdf first and if that files as a php file

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/aacid/make_ruben_happy