Compare commits

...
Author SHA1 Message Date
Mira Weller 92c79a754b Disallow equal signs in names 2026-11-24 14:18:46 +01:00
Mira Weller d49f12d8b1 Use defusedcsv for waiting list download 2026-11-24 14:18:10 +01:00
2 changed files with 2 additions and 2 deletions

No files matched your search

+1 -1
View File
@@ -287,7 +287,7 @@ class NamePartsFormField(forms.MultiValueField):
v = value.get(fname)
if not v:
continue
special_chars = re.findall('[$€/%§{}<>~]', v)
special_chars = re.findall('[$€/%§{}<>~=]', v)
if special_chars:
raise forms.ValidationError(
_('The field "%(label)s" may not contain special characters such as "%(chars)s".'),
+1 -1
View File
@@ -32,9 +32,9 @@
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under the License.
import csv
import io
from defusedcsv import csv
from django.contrib import messages
from django.db import transaction
from django.db.models import F, Max, Min, Q, Sum