diff --git a/searchapp/views.py b/searchapp/views.py index 30bc4c7..e9155fe 100644 --- a/searchapp/views.py +++ b/searchapp/views.py @@ -12,6 +12,7 @@ def replace_without_case(orig, old, new): def home(request): s = request.GET.get('s') + s = s.replace('+', '') if s: if bool(re.match(ip_addr_regex, s)):