@@ -316,7 +316,7 @@ algorithms implemented in this module in other circumstances.
316316.. function :: test()
317317
318318 Robust test CGI script, usable as main program. Writes minimal HTTP headers and
319- formats all information provided to the script in HTML form .
319+ formats all information provided to the script in HTML format .
320320
321321
322322.. function :: print_environ()
@@ -346,8 +346,8 @@ Caring about security
346346
347347.. index :: pair: CGI; security
348348
349- There's one important rule: if you invoke an external program (via the
350- :func: `os.system ` or :func: `os.popen ` functions. or others with similar
349+ There's one important rule: if you invoke an external program (via
350+ :func: `os.system `, :func: `os.popen ` or other functions with similar
351351functionality), make very sure you don't pass arbitrary strings received from
352352the client to the shell. This is a well-known security hole whereby clever
353353hackers anywhere on the Web can exploit a gullible CGI script to invoke
@@ -424,7 +424,7 @@ above on installing your CGI script carefully can save you a lot of time. If
424424you wonder whether you have understood the installation procedure correctly, try
425425installing a copy of this module file (:file: `cgi.py `) as a CGI script. When
426426invoked as a script, the file will dump its environment and the contents of the
427- form in HTML form . Give it the right mode etc, and send it a request. If it's
427+ form in HTML format . Give it the right mode etc. , and send it a request. If it's
428428installed in the standard :file: `cgi-bin ` directory, it should be possible to
429429send it a request by entering a URL into your browser of the form:
430430
0 commit comments