Changeset 12434
- Timestamp:
- 07/03/09 17:15:21 (5 months ago)
- Files:
-
- src/router/httpd/httpd.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
src/router/httpd/httpd.c
r12235 r12434 770 770 return; 771 771 } 772 if (referer && host) { 772 int nodetect=0; 773 if (nvram_invmatch("status_auth", "0") && endswith(file,"Info.htm")) 774 nodetect=1; 775 776 if (referer && host && nodetect==0) { 773 777 int i; 774 778 int hlen = strlen(host); … … 959 963 #endif 960 964 { 961 if (( nvram_match("http_username", DEFAULT_USER)965 if (((nvram_match("http_username", DEFAULT_USER) 962 966 && nvram_match("http_passwd", DEFAULT_PASS)) 963 967 || nvram_match("http_username", "") 964 || nvram_match("http_passwd", "admin")) {968 || nvram_match("http_passwd", "admin")) && !endswith(file, "About.htm")){ 965 969 changepassword = 1; 966 970 if (endswith(file, ".asp"))
