-
Notifications
You must be signed in to change notification settings - Fork 755
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
Yourls error 400, trying to create multiple shortlinks? #1099
Comments
if i use i get redirected to https://mydomain.se/shortenviayourls?link= and i get a 404 |
and
That sounds like the |
basepath is set to: and my apache virtualhost looks like this:
Yea it might be a misconfig by one of the two services, but i cant for the life of me figure it out since everything else works etc |
if i configure it like this:
|
Steps to reproduce
What happens
it creates a shorturl but it seems to try to create multiple
{"status":"fail","code":"error:url","message":"https:\/\/p.xxxxx.se\/?a7d0d61ffeabdfce#H7JSiqfPqe7v6EdDFbz[...] already exists in database (short URL: sh.xxxx.se\/6c3wl)","errorCode":"400","statusCode":"400","url":{"keyword":"6c3wl","url":"https:\/\/p.xxxxx.se\/?a7d0d61ffeabdfce#H7JSiqfPqe7v6EdDFbzaG4o6QQYn1PB4Dc9bDkZ9nhLy","title":"https:\/\/p.xxxxx.se\/?a7d0d61ffeabdfce#H7JSiqfPqe7v6EdDFbzaG4o6QQYn1PB4Dc9bDkZ9nhLy","date":"2023-06-11 19:33:14","ip":"2xxxx.1xx.xx.xx","clicks":0},"title":"https:\/\/p.xxxxx.se\/?a7d0d61ffeabdfce#H7JSiqfPqe7v6EdDFbzaG4o6QQYn1PB4Dc9bDkZ9nhLy","shorturl":"https:\/\/sh.xxxx.se\/6c3wl"}
Additional information
urlshortener = "https://sh.xxxxxxx.se/yourls-api.php?signature=xxxxxxxxx&action=shorturl&format=json&url="
Basic information
Server OS:
ubuntu:22.04
php 8.1
Webserver: Apache (latest)
Browser: Brave
PrivateBin version:
1.5.1
I can reproduce this issue on https://privatebin.net: Yes / No
The text was updated successfully, but these errors were encountered: