Fossil SCM
Improve comment.
Commit
316dd394b8a839d2b37557e0f940c7573d0d171342ae9798fd4cf2d2cb81cf25
Parent
c1f4a84694485ad…
1 file changed
+3
-2
+3
-2
| --- src/cgi.c | ||
| +++ src/cgi.c | ||
| @@ -564,12 +564,13 @@ | ||
| 564 | 564 | cgi_set_parameter_nocopy(zName, mprintf("%s",zValue), 0); |
| 565 | 565 | } |
| 566 | 566 | |
| 567 | 567 | |
| 568 | 568 | /* |
| 569 | -** Returns non-zero if the specified character is lower case -OR- | |
| 570 | -** CGI has been configured to allow uppercase parameter names. | |
| 569 | +** Returns non-zero if the specified character is lowercase -OR- | |
| 570 | +** the specified character is uppercase and the CGI subsystem has | |
| 571 | +** been configured to allow uppercase parameter names. | |
| 571 | 572 | */ |
| 572 | 573 | int cgi_char_allowed(char c){ |
| 573 | 574 | if( fossil_islower(c) ){ |
| 574 | 575 | return 1; /* lowercase letter, always OK */ |
| 575 | 576 | }else if( fossil_isupper(c) && g.cgiUpperParamsOk ){ |
| 576 | 577 |
| --- src/cgi.c | |
| +++ src/cgi.c | |
| @@ -564,12 +564,13 @@ | |
| 564 | cgi_set_parameter_nocopy(zName, mprintf("%s",zValue), 0); |
| 565 | } |
| 566 | |
| 567 | |
| 568 | /* |
| 569 | ** Returns non-zero if the specified character is lower case -OR- |
| 570 | ** CGI has been configured to allow uppercase parameter names. |
| 571 | */ |
| 572 | int cgi_char_allowed(char c){ |
| 573 | if( fossil_islower(c) ){ |
| 574 | return 1; /* lowercase letter, always OK */ |
| 575 | }else if( fossil_isupper(c) && g.cgiUpperParamsOk ){ |
| 576 |
| --- src/cgi.c | |
| +++ src/cgi.c | |
| @@ -564,12 +564,13 @@ | |
| 564 | cgi_set_parameter_nocopy(zName, mprintf("%s",zValue), 0); |
| 565 | } |
| 566 | |
| 567 | |
| 568 | /* |
| 569 | ** Returns non-zero if the specified character is lowercase -OR- |
| 570 | ** the specified character is uppercase and the CGI subsystem has |
| 571 | ** been configured to allow uppercase parameter names. |
| 572 | */ |
| 573 | int cgi_char_allowed(char c){ |
| 574 | if( fossil_islower(c) ){ |
| 575 | return 1; /* lowercase letter, always OK */ |
| 576 | }else if( fossil_isupper(c) && g.cgiUpperParamsOk ){ |
| 577 |