[GH-ISSUE #162] Endpoint api/geturl.php always returns .txt instead of the real file extension #127

Open
opened 2026-02-25 23:40:47 +03:00 by kerem · 0 comments
Owner

Originally created by @imarinoff on GitHub (Feb 6, 2025).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/162

Request
GET https://some-domain.com
Payload:
url: https://some-domain.com/zqgnbb.mp4 (URL encoded)
uploadcode: someuploadcode

Response:
{
"status": "ok",
"hash": "fndvdz.txt",
"url": "https://some-domain.com/fndvdz.txt",
"filetype": "text",
"delete_code": "oniqXXXXXXXczlz6uot59cahxbo0",
"delete_url": "https://some-domain.com/delete_oniqXXXXXXXczlz6uot59cahxbo0/fndvdz.txt"
}

Originally created by @imarinoff on GitHub (Feb 6, 2025). Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/162 Request GET https://some-domain.com Payload: url: https://some-domain.com/zqgnbb.mp4 (URL encoded) uploadcode: someuploadcode Response: { "status": "ok", "hash": "fndvdz.txt", "url": "https:\/\/some-domain.com\/fndvdz.txt", "filetype": "text", "delete_code": "oniqXXXXXXXczlz6uot59cahxbo0", "delete_url": "https:\/\/some-domain.com\/delete_oniqXXXXXXXczlz6uot59cahxbo0\/fndvdz.txt" }
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pictshare#127
No description provided.