+2012-03-30 Yaakov Selkowitz <yselkowitz@...>
+
+ * src/cygstart/cygstart.c (cygStart): Handle file: and mailto: URIs.
+ * NEWS: Document.
+
2012-04-09 Charles Wilson <cwilson@...>
Support new cygwin-1.7.13+ clipboard format.
1.4.10
* getclip and putclip now support new cygwin-1.7.13+ clipboard format.
+ * cygstart now supports file:// and mailto: URLs (Yaakov Selkowitz)
1.4.8
* Integrate cygstart with FD.o menu and mimetype system.
const wchar_t *pWinDir = NULL;
int rc = 0;
+ if (strncmp (aPath, "file://", 7) == 0)
+ aPath += 7;
#ifdef __CYGWIN__
/* Convert file path from POSIX to Windows, unless it looks like a URL */
- if (!strstr (aPath, "://"))
+ if (!strstr (aPath, "://") && strncmp (aPath, "mailto:", 7) != 0)
{
rc = cygstart_posix_to_win_w (aPath, &winPath);
if (rc) goto cleanup;