Closed Riduidel closed 4 years ago
A good idea would be to alter the source destination to not be shaarli base, but link description (permalink with that short url thingie). But how does that short url work ?
shorturl
is stored in link DB https://github.com/shaarli/Shaarli/blob/ad5f47adbaee1eef85e90950ab8a45fe82959924/doc/md/Link-structure.md
It seems to be generated by the link_small_hash
, which invokes the smallHash
php function, which code is quite straightforward, no ?
So let's try to write some test for reimplementing that in Java
Current rendering hides the effective destination, and this is a bad idea.