具体来说,就是添加了些规则去限制HTTP头的规范性 参考这里 具体来说: org.apache.tomcat.util.http.parser.HttpParser#IS_NOT_REQUEST_TARGET[]中定义了一堆not request target 转换过来就是以下字符(对应10进制AS ...
分类:
其他好文 时间:
2019-01-03 23:08:23
阅读次数:
246
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word ...
分类:
其他好文 时间:
2019-01-03 20:39:51
阅读次数:
143
Problem: Given a set of words (without duplicates), find all word squares you can build from them. A sequence of words forms a valid word square if th ...
分类:
其他好文 时间:
2019-01-01 14:05:31
阅读次数:
198
Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer ...
分类:
其他好文 时间:
2019-01-01 11:15:59
阅读次数:
117
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). Example: Input: S = "ADOB ...
Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer ...
分类:
其他好文 时间:
2019-01-01 11:07:51
阅读次数:
169
Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only ...
分类:
其他好文 时间:
2018-12-31 10:25:06
阅读次数:
143
Field.clean(value)[source] 虽然表单字段的Field类主要使用在Form类中,但也可以直接实例化它们来使用,以便更好地了解它们是如何工作的。每个Field的实例都有一个clean()方法,它接受一个参数,然后返回“清洁的”数据或者抛出一个django.forms.Valid ...
分类:
其他好文 时间:
2018-12-30 20:19:33
阅读次数:
169
In a N x N grid composed of 1 x 1 squares, each 1 x 1 square consists of a /, \, or blank space. These characters divide the square into contiguous re ...
分类:
其他好文 时间:
2018-12-29 01:11:01
阅读次数:
269
原因使用了redis, 没有配置 复制了Malformed UTF-8 characters, possibly incorrectly encoded百度了一下. 一直没找到原因 后来看到https://blog.csdn.net/qq_34228881/article/details/82620 ...
分类:
Web程序 时间:
2018-12-28 16:03:13
阅读次数:
2081