Modify ↓
      
Opened 21 years ago
Closed 21 years ago
#461 closed defect (fixed)
.pm and .PL not recognised as perl file extensions
| Reported by: | 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: | |||
| Internal 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 , 21 years ago
| Milestone: | → 0.7.1 | 
|---|---|
| Priority: | normal → high | 
| Severity: | enhancement → minor | 
comment:2 by , 21 years ago
| Owner: | changed from to | 
|---|---|
| Status: | new → assigned | 
comment:3 by , 21 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | assigned → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    


  
Applied and fixed in [621].
Thanks Mark! :)