From 71c5bdcf389596c79720ac3faea41ac3e9c59145 Mon Sep 17 00:00:00 2001 From: Hanne Moa Date: Tue, 2 Jan 2024 13:30:51 +0100 Subject: [PATCH] Replace django urlquote with urllib.parse.quote --- python/nav/web/webfront/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/nav/web/webfront/views.py b/python/nav/web/webfront/views.py index 0c9e5eeca1..c98f0e7732 100644 --- a/python/nav/web/webfront/views.py +++ b/python/nav/web/webfront/views.py @@ -21,6 +21,7 @@ import json import logging from operator import attrgetter +from urllib.parse import quote as urlquote from django.http import ( HttpResponseForbidden, @@ -32,7 +33,6 @@ from django.views.decorators.debug import sensitive_variables, sensitive_post_parameters from django.shortcuts import get_object_or_404, render from django.urls import reverse -from django.utils.http import urlquote from nav.auditlog.models import LogEntry from nav.django.utils import get_account