Edgewall Software
Modify

Ticket #461 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

.pm and .PL not recognised as perl file extensions

Reported by: bje@… Owned by: daniel
Priority: high Milestone: 0.7.1
Component: version control/browser Version: 0.7
Severity: minor Keywords: mimeview
Cc:
Release Notes:
API Changes:

Description

The Mimeview module does not recognise .pm and .PL as perl files - the first is a perl module, the second is typically used for scripts that need some translation before installation (commonly, replacing the banghash line).

--- trunk/trac/Mimeview.py	(revision 30)
+++ trunk/trac/Mimeview.py	(revision 31)
@@ -51,7 +51,7 @@
     'make':'text/x-makefile', 'mk':'text/x-makefile', 'Makefile':'text/x-makefile',
     'mail':'text/x-mail',
     'pas':'text/x-pascal',
-    'pl':'text/x-perl',
+    'pl':'text/x-perl', 'PL':'text/x-perl', 'pm':'text/x-perl',
     'php':'text/x-php', 'php4':'text/x-php', 'php3':'text/x-php',
     'ps':'application/postscript',
     'psp':'text/x-psp',

Attachments

Change History

comment:1 Changed 8 years ago by daniel

  • Milestone set to 0.7.1
  • Priority changed from normal to high
  • Severity changed from enhancement to minor

comment:2 Changed 8 years ago by daniel

  • Owner changed from jonas to daniel
  • Status changed from new to assigned

comment:3 Changed 8 years ago by daniel

  • Resolution set to fixed
  • Status changed from assigned to closed

Applied and fixed in [621].

Thanks Mark! :)

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from daniel. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.