Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gelbooru] redirect url support #1530

Closed
Suika opened this issue May 4, 2021 · 3 comments
Closed

[Gelbooru] redirect url support #1530

Suika opened this issue May 4, 2021 · 3 comments

Comments

@Suika
Copy link

Suika commented May 4, 2021

Can't exactly tell you where and when this type of url was sighted, but gelbooru has a redirect URL that accepts base64 encoded urls of it's own domain.
Example: http://gelbooru.com/redirect.php?s=Ly9nZWxib29ydS5jb20vaW5kZXgucGhwP3BhZ2U9cG9zdCZzPXZpZXcmaWQ9MTgzMDA0Ng==
Which redirects you to //gelbooru.com/index.php?page=post&s=view&id=1830046

Not that important, but this type of url should probably be handled since it's a relatively easy one to do.

@mikf
Copy link
Owner

mikf commented May 7, 2021

Done (3e4ffb0). Do you know if the redirect target is always a single post or could it be any Gelbooru URL?

@Suika
Copy link
Author

Suika commented May 7, 2021

I'll process the redirect URLs that I have and see if there are some that are not single post pages.

@Suika
Copy link
Author

Suika commented May 9, 2021

Almost forgot to reply. I checked the list of redirects I had and they only contained post links. If you try to create a redirect to a search, the redirect takes you to the main page.
So I guess the issue can be closed.

@mikf mikf closed this as completed May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants