Skip to content

SvgUri and SvgCssUri crash on URI not existing #1500

Description

@SjaakSchilperoort

When SvgUri or SvgCssUri load an URI that doesn't exist, it tries to parse the HTML error-page as SVG and crashes. The fetchText method in node_modules/react-native-svg/src/xml.tsx doesn't check for this condition.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions