#2936 UI modified so tags with slash or any special character cannot be created
Closed by pingou. Opened by chocos.
chocos/pagure tags  into  master

Download 2936.patch

These ui_ns are required now a days

rebased onto bd1a3abe0434808b719c99d28180e4aa3593d29c

@batman file updated

You more likely want to do this in the python code in pagure/ui/issues.py as not everyone uses javascript and thus it would be easy to by-pass this :)

If user clicks the new tag button twice, there will be two elements with the same id. Better use a class.

Also the validation against a pattern can be done by adding an attribute pattern="[a-zA-Z0-9-_, .]+".

I'm going to take over this one, I have the fix and the test for it ready.

Thanks for starting the work on it.

New proposal at: https://pagure.io/pagure/pull-request/3028

Pull-Request has been closed by pingou

Metadata