aboutsummaryrefslogtreecommitdiff
path: root/hex_zero.py
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-12-11 14:23:40 -0500
committerB Stack <bgstack15@gmail.com>2020-12-11 14:23:40 -0500
commitd923a518eecc046b6529a0ee6b3ce03ed76ac50e (patch)
tree4b102694a0286b2559b887dbd031b2480710994e /hex_zero.py
parentadd ssl to main apache example (diff)
downloadhex-zero-d923a518eecc046b6529a0ee6b3ce03ed76ac50e.tar.gz
hex-zero-d923a518eecc046b6529a0ee6b3ce03ed76ac50e.tar.bz2
hex-zero-d923a518eecc046b6529a0ee6b3ce03ed76ac50e.zip
add note about filename
Diffstat (limited to 'hex_zero.py')
-rwxr-xr-xhex_zero.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/hex_zero.py b/hex_zero.py
index b534a51..1f3c2ab 100755
--- a/hex_zero.py
+++ b/hex_zero.py
@@ -389,6 +389,7 @@ def fhost():
stored_ip_address = request.remote_addr
except:
stored_ip_address = request.remote_addr
+ # future use: request.files["file"].filename
out = store_file(request.files["file"], stored_ip_address)
elif "url" in request.form:
out = store_url(request.form["url"], request.remote_addr)
bgstack15