diff --git a/src/rupload/app.py b/src/rupload/app.py
index 650cc5f..78476f6 100644
--- a/src/rupload/app.py
+++ b/src/rupload/app.py
@@ -266,8 +266,9 @@ async def handle_index(request: web.Request):
if request.app.is_upload_folder_quota_reached:
message = "Server reached quota! Contact administrator."
if request.app.upload_url in message:
- url = message[message.find(request.app.upload_url)+len(request.app.upload_url):]
+ url = message[message.find(request.app.upload_url):]
message = message.replace(request.app.upload_url, f" {url}'
if message:
message += "
"