alloy icon indicating copy to clipboard operation
alloy copied to clipboard

Why is the url hsahing to Base64

Open k1nxx opened this issue 4 years ago • 4 comments

https://cdn.alloyproxy.design/web/aHR0cHM6Ly9kaXNjb3JkLmNvbQ==/ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Why are you hashing it to base64 meanwhile you can replace it with the following regex

/(?:https?:\/\/)?(?:www\.)?/giy

k1nxx avatar Jul 14 '21 18:07 k1nxx

also the naming conventions are awful. looking at some sites many things get messed up.

Looking at live examples a big issue is : "Cross-Origin Request Blocked" - https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSDidNotSucceed "CORS header ‘Access-Control-Allow-Origin" - https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSAllowOriginNotMatchingOrigin

could i contribute? I prefer typescript as-well(Just leaving a note)

k1nxx avatar Jul 14 '21 18:07 k1nxx

you can fork the project, edit the project you forked, and create a pull request. the owner of this project will accept or deny your request

easella avatar Jul 22 '21 18:07 easella

you can fork the project, edit the project you forked, and create a pull request. the owner of this project will accept or deny your request

No thanks, this isn't related to making a pull request

Its in the "Issues Tab" and i don't talk about making a pull :) Please don't give random replies

k1nxx avatar Jul 23 '21 10:07 k1nxx

The URL is hashed to base64 due to web filter URL detection. Also Alloy is now outdated, and is recommended that you use Corrosion instead.

caracal-js avatar Jul 28 '21 17:07 caracal-js