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
Note: See
TracTickets for help on using
tickets.



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