#33245: utils.html.urlize() isn't thread-safe
---------------------------------+------------------------------------
     Reporter:  Tim McCurrach    |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  Utilities        |                  Version:  dev
     Severity:  Release blocker  |               Resolution:
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------
Changes (by Mariusz Felisiak):

 * cc: Claude Paroz (added)
 * severity:  Normal => Release blocker
 * stage:  Unreviewed => Accepted


Comment:

 Thanks for the report!

 > The obvious solution would be to pass the values listed above directly
 to `handle_word` so that they are not stored on the instance.

 Agreed, it's should be enough to pass values to the underlying methods.

 > My only question is: Does removing these values from the class instance
 nullify the ease of customisation the original ticket brought about?

 I don't think so. As far as I'm aware
 
[https://github.com/django/django/blob/f38458fe56bf8850da72a924bd2e8ff59c6adf06/django/utils/html.py#L230-L241
 all important parameters] will still be customizable.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33245#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/071.b06733792fe24179862192692779dae7%40djangoproject.com.

Reply via email to