Skip to content

decoding db path? #2

@flatsiedatsie

Description

@flatsiedatsie

If your loadIrdbFile function you append the decoded path to the URL.

const path = decodeURIComponent(encodedPath);

const url = source === 'irdb'
    ? 'https://cdn.jsdelivr.net/gh/probonopd/irdb@master/' + path
    : 'https://raw.githubusercontent.com/Lucaslhm/Flipper-IRDB/main/' + path;

But shouldn't the encoded path be appended to the url?

Though it seems to work with both..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions