Using an incremental number (linkId) as the shortened URL lets any user "guess" all shortened URLs anyone has ever added, thus leaks all real URLs of your smart contract.
Also: please use tripple backticks (before the first and after the last code line) instead of single backticks (around each code line) for better visualisation of your code.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Using an incremental number (linkId) as the shortened URL lets any user "guess" all shortened URLs anyone has ever added, thus leaks all real URLs of your smart contract.
Also: please use tripple backticks (before the first and after the last code line) instead of single backticks (around each code line) for better visualisation of your code.