| 972 | /* ��ȡ����URL��ij�������ֶε�����, ��ȡ: /cgi-bin/n1=v1&n2=v2 �е� n2��ֵv2 */ |
| 973 | |
| 974 | const char *http_hdr_req_param(const HTTP_HDR_REQ *hh, const char *name) |
| 975 | { |
| 976 | if (hh == NULL || name == NULL) { |
| 977 | acl_msg_error("%s, %s(%d): input invalid", |
| 978 | __FILE__, __FUNCTION__, __LINE__); |
| 979 | return NULL; |
| 980 | } |
| 981 | |
| 982 | if (hh->params_table == NULL) { |
| 983 | return NULL; |
| 984 | } |
| 985 | |
| 986 | return acl_htable_find(hh->params_table, name); |
| 987 | } |
| 988 | |
| 989 | const char *http_hdr_req_url_part(const HTTP_HDR_REQ *hh) |
| 990 | { |
no test coverage detected
searching dependent graphs…