r=av r=edburns@acm.org sr=waterson bug= 56019 /////////////////////////////////////////////////////////////////////////////// // Currently, in the MIME type info passed in by plugin, a ';' is used as the // separator of two MIME types, and also the sparator of a version in one MIME // type. For example: // "application/x-java-applet;version1.3::java(TM) plugin;application/x-java- // applet...". // The ambiguity of ';' causes the browser fail to parse the MIME types // correctly. // // This method parses the MIME type input, and replaces the MIME type // separators with '|' to eliminate the ambiguity of ';'. (The Windows version // also uses '|' as the MIME type separator.) // // Input format: "...type[;version]:[extension]:[desecription];..." // Output format: "...type[;version]:[extension]:[desecription]|..." // static void SetMIMETypeSeparator(char *minfo) { git-svn-id: svn://10.0.0.236/trunk@81769 18797224-902f-48f8-a5cc-f745e15eee43
9.8 KiB
9.8 KiB