Skip to content

Commit

Permalink
Digits are good
Browse files Browse the repository at this point in the history
as they are part of versions
  • Loading branch information
theseal committed Dec 3, 2024
1 parent 116ebcf commit bbb1132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocsp-server.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
@app.route("/<unsafe_realm>/", methods=["GET", "POST"])
def ocsp_server(unsafe_realm):

if re.search('[^a-z-.]',unsafe_realm):
if re.search('[^a-z-.0-9]',unsafe_realm):
message = "Bad realm"
app.logger.error(message)
return Response(message, status=500)
Expand Down

0 comments on commit bbb1132

Please sign in to comment.