FP1: CGI URL with Spaces in Operand Not AcceptedLast reviewed: March 17, 1998Article ID: Q155294 |
The information in this article applies to:
SYMPTOMSFrontPage Editor, version 1.1, will not allow a link to a Common Gateway Interface (CGI) Uniform Resource Locator (URL) if the URL has spaces between the arguments. In the case of a CGI program, the HyperText Markup Language (HTML) parser in FrontPage will recognize the termination of a URL at the question mark, which is a reserved token for CGI parameters. In the case of a standard hyperlink reference (HREF) link, the HTML parser in FrontPage will accept spaces in the URL by automatically surrounding the file name with quotation marks.
WORKAROUNDWhen you create a link to a CGI program, view the URL in the Link Properties dialog box, and replace each space between arguments with a plus sign. For example, a link to
cgi-bin/mycgi.exe?arg1 arg2 arg3should be written as:
cgi-bin/mycgi.exe?arg1+arg2+arg3 MORE INFORMATIONNote that some operating systems will not allow spaces in file names; therefore, for optimal cross-platform compatibility, avoid using spaces in file names.
|
Additional query words: 1.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |