Home
last modified time | relevance | path

Searched refs:zPathInfo (Results 1 – 6 of 6) sorted by relevance

/dports/devel/fossil/fossil-src-2.17/src/
H A Dmain.c1667 i = zPathInfo[0]!=0; in process_one_web_page()
1675 while( zPathInfo[i] && zPathInfo[i]!='/' ){ i++; } in process_one_web_page()
1790 if( (zPathInfo[0]==0 || strcmp(zPathInfo,"/")==0) in process_one_web_page()
1825 zPathInfo += i; in process_one_web_page()
1859 if( zPathInfo && strncmp(zPathInfo,"/draft",6)==0 in process_one_web_page()
1860 && zPathInfo[6]>='1' && zPathInfo[6]<='9' in process_one_web_page()
1861 && (zPathInfo[7]=='/' || zPathInfo[7]==0) in process_one_web_page()
1869 zPathInfo += 7; in process_one_web_page()
1885 zPathInfo = "/xfer"; in process_one_web_page()
1893 if( zPathInfo==0 || zPathInfo[0]==0 in process_one_web_page()
[all …]
H A Dcgi.c1097 if( zRequestUri==0 || zPathInfo==0 ){ in cgi_init()
1101 nPI = strlen(zPathInfo); in cgi_init()
1116 cgi_set_parameter("REQUEST_URI", zPathInfo); in cgi_init()
1117 for(i=0; zPathInfo[i]==zScriptName[i] && zPathInfo[i]; i++){} in cgi_init()
1118 for(j=i; zPathInfo[j] && zPathInfo[j]!='?'; j++){} in cgi_init()
1119 zPathInfo = fossil_strndup(zPathInfo+i, j-i); in cgi_init()
1120 cgi_replace_parameter("PATH_INFO", zPathInfo); in cgi_init()
1124 const char *z = zPathInfo; in cgi_init()
1125 if( zPathInfo==0 ){ in cgi_init()
1132 if( zPathInfo==0 ){ in cgi_init()
[all …]
H A Dextcgi.c173 const char *zPathInfo; /* Original PATH_INFO value */ in ext_page() local
177 zPathInfo = P("PATH_INFO"); in ext_page()
347 @ <p>Page not found: %h(zPathInfo)</p> in ext_page()
H A Djson.c63 int json_request_is_json_api(const char * zPathInfo){ in json_request_is_json_api() argument
65 if(zPathInfo==0){ in json_request_is_json_api()
67 }else if(0==strncmp("/json",zPathInfo,5) in json_request_is_json_api()
68 && (zPathInfo[5]==0 || zPathInfo[5]=='/')){ in json_request_is_json_api()
84 re_match(pReg, (const unsigned char *)zPathInfo, -1)){ in json_request_is_json_api()
H A Dlogin.c1481 const char *zPathInfo = PD("PATH_INFO",""); in login_needed() local
1484 if( zPathInfo[0]=='/' ) zPathInfo++; /* skip leading slash */ in login_needed()
1486 blob_appendf(&redir, "%s/login?g=%T", g.zHttpsURL, zPathInfo); in login_needed()
1488 blob_appendf(&redir, "%R/login?g=%T", zPathInfo); in login_needed()
H A Dwiki.c121 const char *zPathInfo = P("PATH_INFO"); in home_page() local
123 while( zPathInfo[0]=='/' ) zPathInfo++; in home_page()
124 if( fossil_strcmp(zIndexPage, zPathInfo)==0 ) zIndexPage = 0; in home_page()