← Back to team overview

desktop-packages team mailing list archive

[Bug 64559] Re: php offset of 64 might be not enough

 

We are closing this bug report because it lacks the information we need
to investigate the problem, as described in the previous comments.
Please reopen it if you can give us the missing information, and don't
hesitate to submit bug reports in the future. To reopen the bug report
you can click on the current status, under the Status column, and change
the Status back to "New". Thanks again!


** Changed in: shared-mime-info (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to shared-mime-info in Ubuntu.
https://bugs.launchpad.net/bugs/64559

Title:
  php offset of 64 might be not enough

Status in The FreeDesktop.org Shared MIME Database:
  New
Status in “shared-mime-info” package in Ubuntu:
  Expired

Bug description:
  Binary package hint: nautilus

  If I create a file with extension ".php", and edit it so it contains
  some html content, with some <?php ... ?> tags, double-clicking the
  file in nautilus brings up a warning box containing:

  """
  The filename "index.php" indicates that this file is of type "PHP script". The contents of the file indicate that the file is of type "HTML document". If you open this file, the file might present a security risk to your system.

  Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "HTML document", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.
  """

  ...and refuses to open the file. Is there any way I can force gnome/nautilus into believing that this is actually a php file?
  (The context menu actions assume it is of type "HTML Document")

  I'm sure I've run into this problem before with other files, but
  cannot remember any details.

To manage notifications about this bug go to:
https://bugs.launchpad.net/shared-mime/+bug/64559/+subscriptions