Skip to content

Error 404 because of branch name that includes "/" #35

@siaeyy

Description

@siaeyy

I have a branch named task/blabla.
The naming way a branch like this is very common.

When i try running on that branch, the out is like this:
Error 404: Path 'blabla' not found in repository or insufficient permissions with the provided token.

The problem is at the way how urls are parsed:
https://github.com/The-Pocket/Tutorial-Codebase-Knowledge/blob/0f4152cc165bc941132a492cc8b786c247c795e8/utils/crawl_github_files.py#L127-L147

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