Skip to content

[BUG] SSL Security toggle has no apparent effect on XPath feed #4781

@danburd

Description

@danburd

Describe the bug
FreshRSS won't use XPath to scrape a website that has SSL issues, regardless of whether the "Verify SSL Security" setting is on or off.

To Reproduce
Steps to reproduce the behavior:

  1. Set up an XPath feed using the following settings:

image

image

image

  • Finding news items:
    • //div[contains(@class,'FeedCard')]
  • Item title:
    • descendant::h2
  • Item content:
    • descendant::p
  • Item link:
    • descendant::a/@href
  • Item author:
    • descendant::span[contains(@class,'bylines')]
  • Item date:
    • descendant::span/@data-source
  1. Get the error: "Blast! This feed has encountered a problem. Please verify that it is always reachable then update it."
  2. Run the command curl -v https://apnews.com/hub/world-news to verify that there is an SSL error on the website.
  3. Run the command curl -v -k https://apnews.com/hub/world-news to verify that using cURL to ignore the SSL error scrapes the website successfully.

Expected behavior
FreshRSS would scrape the website normally once the "Verify SSL Security" toggle was turned off.

Environment information (please complete the following information):

  • Device: Intel NUC
  • OS: Fedora 36
  • Browser: N/A
  • FreshRSS version: 1.20.0
  • Database version: Unknown (Docker image)
  • PHP version: Unknown (Docker image)
  • Installation type: Docker image

Additional context
This "feed" worked as recently as 24 hours ago, presumably because the website's SSL settings were correctly set up at that time, though I hadn't bothered to test cURL until it stopped working about 12 hours ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions