Sheng
|
a8a444d7ed
|
Always reset fbidhttp to False if not open to public
|
2018-10-18 18:17:42 +08:00 |
Sheng
|
5d6f92e529
|
Move some config variables to handler.py
|
2018-10-18 15:07:45 +08:00 |
Sheng
|
c06bf5311a
|
Added an option for blocking public non-https requests
|
2018-10-17 22:39:53 +08:00 |
Sheng
|
c2c81aaeae
|
Use method initialize to deny forbidden acesss
|
2018-10-17 19:22:51 +08:00 |
Sheng
|
7e5a170383
|
Added head method IndexHandler
|
2018-10-16 16:15:39 +08:00 |
Sheng
|
a68eff592f
|
Added attribute custom_headers to MixinHandler
|
2018-10-16 15:14:34 +08:00 |
Sheng
|
af60cd1cd5
|
Tested app with 403 and 404 requests
|
2018-10-16 14:51:15 +08:00 |
Sheng
|
e94c846379
|
Added default handler NotFoundHandler
|
2018-10-16 13:56:44 +08:00 |
Sheng
|
499f3b6dcd
|
Lowercase all option names
|
2018-10-15 22:06:02 +08:00 |
Sheng
|
12f4c0d0d2
|
Pass server settings for test
|
2018-10-15 21:36:54 +08:00 |
Sheng
|
77b6fbfd85
|
Block requests not come from trusted_downstream and public non-https requests
|
2018-10-15 20:14:53 +08:00 |
Sheng
|
db3ee2b784
|
Added proxies option for trusted downstream
|
2018-10-15 17:49:02 +08:00 |
Sheng
|
bb9d193cae
|
Fixed assertion in rasied exception context
|
2018-10-14 16:46:47 +08:00 |
Sheng
|
827a0d8a9d
|
Support https server
|
2018-10-14 16:15:39 +08:00 |
Sheng
|
66ebe2ceb2
|
Use general method to validate ipaddress
|
2018-10-13 09:47:15 +08:00 |
Sheng
|
656e2ff028
|
Tested default port
|
2018-10-10 23:18:38 +08:00 |
Sheng
|
0c9db2abaf
|
Set default port 22 on server side
|
2018-10-10 22:30:37 +08:00 |
Sheng
|
f6d2776a20
|
Let tornado parse xheaders
|
2018-10-10 10:51:40 +08:00 |
Sheng
|
88405eddac
|
Added to_int to utils
|
2018-10-10 08:49:59 +08:00 |
Sheng
|
33703f0ca3
|
Updated lookup_hostname
|
2018-10-08 22:37:03 +08:00 |
Sheng
|
a576a41ea4
|
Lookup hostname before connection under reject policy
|
2018-10-08 20:25:21 +08:00 |
Sheng
|
90e7ea0327
|
Fixed test_print_version
|
2018-10-03 19:22:20 +08:00 |
Sheng
|
2adcf93362
|
Updated tests/utils.py
|
2018-09-18 20:56:34 +08:00 |
Sheng
|
1a7c395c75
|
Updated requirements.txt
|
2018-09-13 18:44:13 +08:00 |
Sheng
|
b3c33ff6bd
|
Use form attribute novalidate for debug mode
|
2018-09-12 13:47:33 +08:00 |
Sheng
|
b372fcbbb2
|
Pass None for empty password
|
2018-09-12 13:07:05 +08:00 |
Sheng
|
5f3641701e
|
Increase buffer size for channel
|
2018-09-01 11:00:01 +08:00 |
Sheng
|
f4351318ec
|
Updated tests
|
2018-08-29 18:10:57 +08:00 |
Sheng
|
fa717491cd
|
Updated test_server_error
|
2018-08-29 09:40:07 +08:00 |
Sheng
|
6cfd981e80
|
Tested server error
|
2018-08-29 09:19:35 +08:00 |
Sheng
|
ad12876b0c
|
Strip encoding
|
2018-08-28 20:25:07 +08:00 |
Sheng
|
58feb5e76b
|
Enable xsrf for testing
|
2018-08-28 20:08:03 +08:00 |
Sheng
|
688ca78bb2
|
Use command "locale charmap" to detect encoding
|
2018-08-28 07:55:41 +08:00 |
Sheng
|
80bdddc280
|
Added setting swallow_http_errors
|
2018-08-28 07:43:43 +08:00 |
Sheng
|
e1fbc417fd
|
Added test for bad authentication type
|
2018-08-26 21:53:28 +08:00 |
Sheng
|
1a3880ecee
|
Raise InvalidException for empty required value
|
2018-08-26 15:40:08 +08:00 |
Sheng
|
5519a17016
|
Return 400 http error for invalid post requests
|
2018-08-26 15:13:02 +08:00 |
Sheng
|
df26d0e677
|
Catch ValueError instead of Exception for post method
|
2018-08-25 19:51:05 +08:00 |
Sheng
|
48acf09f21
|
Move method get_value to MixinHandler
|
2018-08-25 17:35:31 +08:00 |
Sheng
|
f3d9d297bb
|
Updated tests
|
2018-08-25 06:53:21 +08:00 |
Sheng
|
757702127a
|
Move all tests data into a separate directory
|
2018-08-24 15:11:21 +08:00 |
Sheng
|
4710d8c0e6
|
Added connect_with_options function
|
2018-08-24 11:11:43 +08:00 |
Sheng
|
2e34702988
|
Changed validation error messages
|
2018-08-22 17:37:23 +08:00 |
Sheng
|
3c139e05f8
|
Added KEY_MAX_SIZE to validate the private key
|
2018-08-22 13:03:14 +08:00 |
Sheng
|
37299468a9
|
Added is_valid_hostname to utils
|
2018-08-20 21:20:55 +08:00 |
Sheng
|
f610020758
|
Changed quotes
|
2018-08-20 20:42:54 +08:00 |
Sheng
|
bd803328fc
|
Changed error message
|
2018-08-20 18:55:00 +08:00 |
Sheng
|
e85ae1692e
|
Added to_bytes function to utils
|
2018-08-20 18:36:04 +08:00 |
Sheng
|
f4197f0e4c
|
Use base_dir as the project root directory
|
2018-08-18 17:39:50 +08:00 |
Sheng
|
d6de1340c4
|
Added max_body_size for limiting the size of post form
|
2018-08-18 16:33:21 +08:00 |