Created an attachment (id=334572)
another approach
That is a fix for nsMIMEInfoUnix::GetHasDefaultHandler() to actually also check for the extension if it fails for the type lookup.
(not familiar with nsRefPtr so I might be wrong with it)
But for that to actually offer the default application I had to change CopyBasicDataTo since it overwrites the default application after all.
Created an attachment (id=334572)
another approach
That is a fix for nsMIMEInfoUnix: :GetHasDefaultH andler( ) to actually also check for the extension if it fails for the type lookup.
(not familiar with nsRefPtr so I might be wrong with it)
But for that to actually offer the default application I had to change CopyBasicDataTo since it overwrites the default application after all.