Closed carols10cents closed 12 years ago
When links contained mime types not in MIME_ORDER, index() was returning nil and the comparison failed. This change makes the comparison use -1 instead of nil.
This results in an exception that rstat.us is seeing -- https://github.com/hotsh/rstat.us/issues/556
When links contained mime types not in MIME_ORDER, index() was returning nil and the comparison failed. This change makes the comparison use -1 instead of nil.
This results in an exception that rstat.us is seeing -- https://github.com/hotsh/rstat.us/issues/556