- Issue created by @GΓ‘bor Hojtsy
- Open on Drupal.org βEnvironment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - @g%C3%A1bor-hojtsy opened merge request.
- last update
over 1 year ago 2,159 pass - ππΊHungary GΓ‘bor Hojtsy Hungary
Added screenshot of problems and expanded proposed resolution. Ended up also decoding entities, since those would/will also be escaped when displayed otherwise.
- last update
over 1 year ago 2,159 pass - Status changed to RTBC
over 1 year ago 2:08pm 7 July 2023 - πͺπΈSpain fjgarlin
I reviewed the code in the MR and tested the fix here: https://fjgarlin-drupal.dev.devdrupal.org/security
The screenshots above from the before and after are from that URL, where I tested removing the items and then updating them again so they'd be resaved in the database.
The feeds we tested were https://drupal.community/@drupalsecurity.rss and https://drupal.community/@dropismoving.rss, where no "title" element is present in the items.
Marking RTBC.
- last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,155 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago run-tests.sh exception - last update
over 1 year ago 2,159 pass - last update
over 1 year ago run-tests.sh exception - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago run-tests.sh exception - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - πΈπ°Slovakia poker10
Thanks for working on this!
Yes, this seems like a bug (because the resulting text is malformed). The fix looks good, but we are combining it with increasing the title length from 40 to 255 characters. I think we should add at least a short change record for people using this feature (e.g. feeds without titles), so they will not be surprised with longer text. Thanks!
I have tested this manually (comparing the old and new code for parsing the description) and it seems good. For example this text:
<p>Search Autocomplete - Moderately critical - Cross Site Scripting - SA-CONTRIB-2023-026 3371114 at <a href="https://www.drupal.org" target="_blank" rel="nofollow noopener noreferrer"><span class="invisible">https://www.</span><span class="">drupal.org</span><span class="invisible"></span></a></p>
will change from this:
<p>Search Autocomplete -
to this:Search Autocomplete - Moderately critical - Cross Site Scripting - SA-CONTRIB-2023-026 3371114 at https://www.drupal.org
when using the patch. - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,159 pass - last update
over 1 year ago 2,160 pass - last update
over 1 year ago run-tests.sh exception - πΈπ°Slovakia poker10
I have drafted a change record: https://www.drupal.org/node/3383554 β . Feel free to update if needed.
- last update
over 1 year ago 2,160 pass - last update
over 1 year ago 2,160 pass - last update
over 1 year ago 2,160 pass - last update
over 1 year ago run-tests.sh exception - last update
over 1 year ago run-tests.sh exception - last update
over 1 year ago 2,160 pass - last update
over 1 year ago 2,160 pass - last update
over 1 year ago 2,160 pass - last update
over 1 year ago 2,160 pass - First commit to issue fork.
- last update
over 1 year ago run-tests.sh exception - π¬π§United Kingdom mcdruid π¬π§πͺπΊ
Added a test for this.
Assuming the tests all pass, I'm happy for this to be committed.
- last update
over 1 year ago 2,161 pass - last update
over 1 year ago 2,157 pass - last update
over 1 year ago 2,122 pass - last update
over 1 year ago run-tests.sh exception - last update
over 1 year ago 2,161 pass - last update
over 1 year ago 2,161 pass - last update
over 1 year ago 2,161 pass - last update
over 1 year ago 2,161 pass - last update
over 1 year ago 2,161 pass - last update
over 1 year ago 2,122 pass - πΈπ°Slovakia poker10
Thanks for adding the test @mcdruid! It is green, so I think we are good to go here.
- last update
over 1 year ago 2,122 pass -
poker10 β
committed 96a9946c on 7.x
Issue #3373222 by GΓ‘bor Hojtsy, mcdruid: Fallback to feed item...
-
poker10 β
committed 96a9946c on 7.x
- Status changed to Fixed
over 1 year ago 5:00pm 15 September 2023 Automatically closed - issue fixed for 2 weeks with no activity.