Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#461 closed defect (fixed)

.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: Branch:
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 (0)

Change History (3)

comment:1 by daniel, 15 years ago

Milestone: 0.7.1
Priority: normalhigh
Severity: enhancementminor

comment:2 by daniel, 15 years ago

Owner: changed from Jonas Borgström to daniel
Status: newassigned

comment:3 by daniel, 15 years ago

Resolution: fixed
Status: assignedclosed

Applied and fixed in [621].

Thanks Mark! :)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from daniel to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.