From 2fcb616831be6d8f66e96293b24d6056d0c693ac Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Fri, 4 Oct 2013 16:48:08 +0000 Subject: [PATCH] Added note regarding Windows not always handling file: uris with anchor suffixes properly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_open_uri.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/fl_open_uri.cxx b/src/fl_open_uri.cxx index 9a0cedd06..d25b5b9a9 100644 --- a/src/fl_open_uri.cxx +++ b/src/fl_open_uri.cxx @@ -68,6 +68,14 @@ static int run_program(const char *program, char **argv, char *msg, int msglen); * * On failure, the msg buffer is filled with an English error message. * + * \note + * \b Platform \b Specific \b Issues: \b Windows \n + * With "file:" based URIs on Windows, you may encounter issues with + * anchors being ignored. Example: "file:///c:/some/index.html#anchor" + * may open in the browser without the "#anchor" suffix. The behavior + * seems to vary across different Windows versions. Workaround: open a link + * to a separate html file that redirects to the desired "file:" URI. + * * \b Example * \code * #include