There are some routes that are 6 characters long (health and assets)
that could be overridden by the generated snippet identifier.
fix: lang and extension parsing
The code converting lang and extension back and forth was confusing and
resulted in incoherent parsing. The docstrings and implementations were
clashing with one another.
fix: snippet duplication typo
Duplicate a snippet, you get repr(snippet) instead of snippet.code
fix: prevent generated id to override with routes
There are some routes that are 6 characters long (
health
andassets
) that could be overridden by the generated snippet identifier.fix: lang and extension parsing
The code converting lang and extension back and forth was confusing and resulted in incoherent parsing. The docstrings and implementations were clashing with one another.
fix: snippet duplication typo
Duplicate a snippet, you get
repr(snippet)
instead ofsnippet.code
Fine tuning of ba2aa243641