mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 16:36:20 +00:00
web/info.py: use 128-bit ophandles instead of 64-bit
This commit is contained in:
parent
0d93d6244e
commit
0d5cc38a35
@ -194,7 +194,7 @@ class MoreInfo(rend.Page):
|
||||
return ""
|
||||
|
||||
def render_deep_check_form(self, ctx, data):
|
||||
ophandle = base32.b2a(os.urandom(8))
|
||||
ophandle = base32.b2a(os.urandom(16))
|
||||
deep_check = T.form(action=".", method="post",
|
||||
enctype="multipart/form-data")[
|
||||
T.fieldset[
|
||||
@ -217,7 +217,7 @@ class MoreInfo(rend.Page):
|
||||
return ctx.tag[deep_check]
|
||||
|
||||
def render_deep_size_form(self, ctx, data):
|
||||
ophandle = base32.b2a(os.urandom(8))
|
||||
ophandle = base32.b2a(os.urandom(16))
|
||||
deep_size = T.form(action=".", method="post",
|
||||
enctype="multipart/form-data")[
|
||||
T.fieldset[
|
||||
@ -229,7 +229,7 @@ class MoreInfo(rend.Page):
|
||||
return ctx.tag[deep_size]
|
||||
|
||||
def render_deep_stats_form(self, ctx, data):
|
||||
ophandle = base32.b2a(os.urandom(8))
|
||||
ophandle = base32.b2a(os.urandom(16))
|
||||
deep_stats = T.form(action=".", method="post",
|
||||
enctype="multipart/form-data")[
|
||||
T.fieldset[
|
||||
@ -241,7 +241,7 @@ class MoreInfo(rend.Page):
|
||||
return ctx.tag[deep_stats]
|
||||
|
||||
def render_manifest_form(self, ctx, data):
|
||||
ophandle = base32.b2a(os.urandom(8))
|
||||
ophandle = base32.b2a(os.urandom(16))
|
||||
manifest = T.form(action=".", method="post",
|
||||
enctype="multipart/form-data")[
|
||||
T.fieldset[
|
||||
|
Loading…
x
Reference in New Issue
Block a user