ReadYouApp / ReadYouApp/ReadYou

Flow page does not properly display image links with HTML escape characters

Open
#866 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Kotlin
Stars
7.5k
Forks
330
PR merge metrics
No merged PRs in 30d

Description

1. Environment

  • Device: [Xiaomi 14]
  • OS: [Hyper OS/Android 14]
  • APP: [0.10.1]

2. Describe the bug

In the flow page, some RSS items have escape characters in their image links. These pictures are not displayed correctly in the flow page:

Screenshot_2024-11-07-09-17-40-985_me.ash.reader.jpg

I use tiny tiny rss as my server, I can see warning in my backend:

Undefined array key 1
1. classes/Handler_Public.php(758): ttrss_error_handler(Undefined array key 1, classes/Handler_Public.php)
2. public.php(49): cached()

Forwarded For: ****
Forwarded Protocol: https
Remote IP: ****
Request URI: /public.php?op=cached&file=images/e7ac1d48a7bcc95006b095d6782beda581b2780c
User agent: ReadYou/0.10.1(25)

The correct url should be:

/public.php?op=cached&file=images/e7ac1d48a7bcc95006b095d6782beda581b2780c

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Flow page's image-link handling and reproduce the issue with the provided tiny tiny rss URL containing an HTML-escaped ampersand. Done means the RSS image loads correctly and the request uses the unescaped & URL shown in the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.