8000 FR: Validate and recover URL strings in IAM · Issue #8485 · firebase/firebase-ios-sdk · GitHub
[go: up one dir, main page]

Skip to content

FR: Validate and recover URL strings in IAM #8485

@yakovmanshin

Description

@yakovmanshin

Feature proposal

  • Firebase Component: IAM

URLs in IAM are constructed from plain strings, which makes them vulnerable to easy-to-make mistakes, such as trailing whitespaces. In some cases, such mistakes result in crashes (#8482).

Although it’s not possible to rule out every situation which prevents a successful string-to-URL conversion, certain issues—such as redundant whitespaces in the URL string—can be fixed automatically.

Additionally, the Firebase Console clearly states that image URLs must use the HTTPS scheme. This requirement is not enforced in the SDK, which may lead to inconsistent results, depending on App Transport Security configuration et al., and a bunch of confusion.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0