Is the ultimate goal to replace the DecodeShortURLs plugin with the Redirectors 
plugin? It seems like Redirectors was forked from DecodeShortURLs in 2024 and 
new features have been added to Redirectors but not much has changed in 
DecodeShortURLs. 
The problem I'm seeing is that Redirectors runs at priority -15 and 
DecodeShortURLs runs at priority -10. So a chain like:
REDIRECTOR -> SHORTENER -> target
gets fully traversed, but a chain like:
SHORTENER -> REDIRECTOR -> target
does not. The only feature I can find in DecodeShortURLs that's not in 
Redirectors is url_shortener_custom_user_agent. That would be trivial to add 
and then we could just have one plugin, one cache, shared loop/maxchain 
counters, and one set of eval rules.
Currently we have an overlapping set of rules:
eval:short_url
eval:short_url_redir
eval:short_url_200
eval:short_url_404
eval:short_url_code
eval:short_url_chained
eval:short_url_maxchain
eval:short_url_loop
eval:short_url_tests   <-- deprecated
eval:redir_url
eval:redir_url_valid    <-- was redir_url_redir before I renamed it
eval:redir_url_404
eval:redir_url_code
eval:redir_url_chained
eval:redir_url_chained_domain
eval:redir_url_maxchain
eval:redir_url_loop
What are we trying to acheive?
Thanks
Kent

Reply via email to