Changes between Initial Version and Version 1 of Ticket #36499, comment 2


Ignore:
Timestamp:
Jul 13, 2025, 11:11:55 AM (4 months ago)
Author:
Clifford Gama

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36499, comment 2

    initial v1  
    1 Thanks for the report! I managed to reproduce on against the main python [https://github.com/cliff688/cpython/commit/e18829a8adb3a64ffffffbd7dcada3c3611522b0 e18829a8] branch. Since [https://github.com/python/cpython/commit/6eb6c5dbfb528bd07d77b60fd71fd05d81d45c41 the commit] ([https://github.com/python/cpython/pull/135464 gh-135462]) was backported to Python versions currently supported by Django, I think we can accept this on the basis that Django needs to make a decision. I think the issue is that an unterminated tag is now being discarded. In the case of the failing tests these are `"<a<a..."` and `"<&&&...&D"` and the first `"<sc"` in `"<sc<!-- -->ript>test<<!-- -->/script>"`.
     1Thanks for the report! I managed to reproduce on against the main python [https://github.com/cliff688/cpython/commit/e18829a8adb3a64ffffffbd7dcada3c3611522b0 e18829a8] branch. Since [https://github.com/python/cpython/commit/6eb6c5dbfb528bd07d77b60fd71fd05d81d45c41 the commit] ([https://github.com/python/cpython/pull/135464 gh-135462]) was backported to Python versions currently supported by Django, I think we can accept this on the basis that Django needs to make a decision.
     2
     3The issue is that an unterminated tag is now being discarded. In the case of the failing tests these are `"<a<a..."` and `"<&&&...&D"` and the first `"<sc"` in `"<sc<!-- -->ript>test<<!-- -->/script>"`.
    24
    35I see two ways we may handle this:
Back to Top