PRB: SSI #exec Directive Does Not Support Embedded Quotes (226506)
The information in this article applies to:
- Microsoft Internet Information Server 3.0
- Microsoft Internet Information Server 4.0
This article was previously published under Q226506 SYMPTOMS
If you are using Server Side Include (SSI) files that use the #exec directive on your Internet Information Server (IIS) server, you will not be able to include quotes in the command you are trying to execute. For example, the following line will not work as expected:
<!-- #exec cmd="del "a long filename.txt"" -->
The command above will execute as if "del " was the entered command. Everything after the second quote will be ignored.
CAUSE
The Server Side Include parser is not sophisticated enough to support a mechanism for passing quotes within the quotes for the #exec command.
STATUS
This behavior is by design.
REFERENCES
For more information on the #exec directive and Server Side Includes, see the online documentation for Internet Information Server.
Modification Type: | Major | Last Reviewed: | 2/24/2004 |
---|
Keywords: | kbhttp kbprb KB226506 |
---|
|