muety / anchr

⚓️ Anchr provides you with a toolbox for tiny tasks on the internet, especially bookmark collections
https://anchr.io
GNU General Public License v3.0
278 stars 27 forks source link

Prevent `remote` endpoint from running into redirect loops #43

Closed muety closed 3 years ago

muety commented 3 years ago

If /api/page did a call to itself with itself as a lookup URL, it would probably end up in recursion. Simplest solution is to just filter URLs that match that endpoint.

muety commented 3 years ago

https://github.com/axios/axios/issues/4084 would help with this.