Skip to content

Commit

Permalink
api: stop logging password (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
throwawayay authored Sep 20, 2021
1 parent 23df047 commit fc22561
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Server/Controller/Api.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@ def getPreload(request, response):
def getInstall(request, response):
try:
url = ('%s:%s@%s:%d/api/download/%s/title.nsp' % (request.user.id, request.user.password, Config.server.hostname, Config.server.port, request.bits[2]))
Print.info('Installing ' + url)
Print.info('Installing ' + str(request.bits[2]))
# Print.info('Installing ' + url)

This comment has been minimized.

Copy link
@introkun
file_list_payloadBytes = url.encode('ascii')

sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
Expand Down

0 comments on commit fc22561

Please sign in to comment.