reduce fingerprinting of site owner
replace version with generic `user_agent` that will remain constant
This commit is contained in:
parent
53ba8d2bb9
commit
7353c8ff90
3 changed files with 5 additions and 3 deletions
|
@ -729,7 +729,8 @@ class ContentManager(object):
|
|||
|
||||
new_content["modified"] = int(time.time()) # Add timestamp
|
||||
if inner_path == "content.json":
|
||||
new_content["zeronet_version"] = config.version
|
||||
# add for backward compatibility, but don't expose user version
|
||||
new_content["zeronet_version"] = config.user_agent
|
||||
new_content["signs_required"] = content.get("signs_required", 1)
|
||||
|
||||
new_content["address"] = self.site.address
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue