titaniumnetwork-dev / alloy

A web proxy for use in combating web filters.
https://alloyproxy.design
94 stars 920 forks source link

Why is the url hsahing to Base64 #43

Open PhantomRex123 opened 3 years ago

PhantomRex123 commented 3 years ago

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
PhantomRex123 commented 3 years ago

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)

easella commented 3 years ago

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

PhantomRex123 commented 3 years ago

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

caracal-js commented 3 years ago

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.