luci函数
luci.http.getenv
getenv (name)Get the value of a certain HTTP environment variable or the environment table itself.
Parameters
- name: Environment variable
Return value:
HTTP environment value or environment table
---------------------------------
luci.util.pcdata
pcdata (value) | Create valid XML PCDATA from given string |
pcdata (value)Create valid XML PCDATA from given string.
Parameters
- value: String value containing the data to escape
Return value:
String value containing the escaped data
这个地方是处理URL后,得到XML PCDATA,即parsed character data,被解析的字符数据
posted on 2021-04-23 10:51 toughcactus 阅读(130) 评论(0) 编辑 收藏 举报