bugGNUstep Application Project - Bugs: bug #61756, [Grr.app] raises an exception if...


bug #61756: [Grr.app] raises an exception if an ampersand isn't used as the start of an entity

Submitted by:  Sergei Golovin <svg>
Submitted on:  Mon 03 Jan 2022 09:49:28 AM UTC  
Category:  Application Severity:  3 - Normal
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 23 Jan 2022 10:22:07 PM UTC, comment #1: 

Interesting issue - technically the code is wrong, but handling of it could be better.
I wanted to test on this and check your implementation, which at a first glance seems reasonable, however I cannot see the article in the feed anymore. Can it e that only 2022 articles are listed?
I wonder how else I can test this: another feed? some settings?
Or create a bogus entry in a blog, I don't think I can on my own with blogspot, since it would be a fault in the editor o let an unescaped character through.

Riccardo Mottola <rmottola>
Project Administrator
Mon 03 Jan 2022 09:49:28 AM UTC, original submission:  

I am subscribed to https://developers.redhat.com/blog/feed which brought me the article https://developers.redhat.com/articles/2021/12/17/how-connect-prometheus-openshift-streams-apache-kafka.

The article contains the chunk <strong>Save & Test</strong> which raises an exception in Grr because the Components/ArticleView/NSString+TolerantHTML.m treats any '&' as the start of an entity.

The changes in the supplied patch catch the exception and proceed the bad '&' as a plaintext.

Sergei Golovin <svg>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #52602:  grr.patch added by svg (2KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rmottola (Posted a comment)
  • -email is unavailable- added by svg (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-03 svg Attached File- => Added grr.patch, #52602

    Back to the top

    Powered by Savane 3.7