| Ticket UUID: | 458023 | |||
| Title: | urlStub always returns "" | |||
| Type: | Bug | Version: | None | |
| Submitter: | stevecassidy | Created on: | 2001-09-03 12:20:02 | |
| Subsystem: | ncgi | Assigned To: | andreas_kupries | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2001-09-06 06:11:24 | |
| Resolution: | Fixed | Closed By: | andreas_kupries | |
| Closed on: | 2001-09-05 23:11:24 | |||
| Description: |
cgi::urlStub is intended to return either
env(SCRIPT_NAME) or a value set by a previous call to
the proc. It's missing a global env declaration and
so always fails to find a value for SCRIPT_NAME and
returns "" instead.
The patch is simple, in ncgi.tcl:
proc ncgi::urlStub {{url {}}} {
variable urlStub
+ global env
if {[string length $url]} {
| |||
| User Comments: |
andreas_kupries added on 2001-09-06 06:11:24:
Logged In: YES user_id=75003 Committed patch. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki