Bug: "destination url pathname must be at least 8 characters long" #6
jamescridland
started this conversation in
General
Replies: 1 comment
-
You got it - right now it's intentional, since the original intention of this search was not to do an expensive broad scan with a non-discriminating filter, but rather to find variants of specific episodes. I'll take another look at this index again though and see if I can relax it - others are wanting it as well: https://podcastindex.social/web/@js/109064548104573281 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Over here, @drpancake writes:
Agree. This looks like a bug.
Compare
https://op3.dev/api/1/redirect-logs?start=-24h&url=https://op3.dev/e/podnews.net/audio/po*&format=json&token=preview07ce
... which works fine
...and the longer
https://op3.dev/api/1/redirect-logs?start=-24h&url=https://op3.dev/e/mp3s.nashownotes.com/PC*&format=json&token=preview07ce
... which doesn't
Error for the second one is
{ "message": "Bad urlStartsWith: https://op3.dev/e/mp3s.nashownotes.com/PC, destination url pathname must be at least 8 characters long, found /PC" }
Edit: Having actually read the error message now, this isn't a bug, is it - it's working as designed. The Podnews example has a pathname of eight characters:
audio/po
- while the Podcasting 2.0 one has a pathname of only two.Beta Was this translation helpful? Give feedback.
All reactions