Fmstrat / Fmstrat/shorten

Feature request - separate short links for redirect and download actions

Open
#5 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
30
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Hi Fmstrat

and first of all I would like to thank you for your great job !

In my opinion, it would be useful to have the possibility to indicate default shot link action download or redirect, for example for the case when the end-user wants to share a folder with images which receiver of the short link should just slide in the browser. It could be implemented (if possible) for example by generating 2 short links, one with default download action and another with redirect action:
1. https://mydomain.ext/s?SHORTCODE - redirect
2. https://mydomain.ext/d?SHORTCODE - download
so, in share ownCloud screen end user would have 3 links: full link,short for redirect, short for download.

Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the short-link handling and the ownCloud share screen integration. Review how the existing short link chooses between redirect and download actions. Done means the share screen exposes the full link plus separate /s?SHORTCODE redirect and /d?SHORTCODE download links, with each action behaving as labeled.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.