OpenTermsArchive / contribution-tool

[prototype] Interactively declare services to be tracked in Open Terms Archive
European Union Public License 1.2
0 stars 3 forks source link

Added functions to API services in order to check private addresses #165

Closed fabianospinelli closed 6 months ago

fabianospinelli commented 7 months ago

As reported on my issue (https://github.com/OpenTermsArchive/contribution-tool/issues/158), we modified the code in order to prevent the possibility to use the server to interact with the internal URLs. Compared to the previous version we proposed, we have added a function to verify the various address classes (IPV4, IPV6, aliases, etc.) by handling everything on the backend side and not on the frontend side. The error message is displayed to the user like all other fetching errors.