|
1 |
| -# HTML to URL |
2 |
| -converts small html into urls directly ,live on https://htmltourl.netlify.app/ |
3 |
| -(Making good use of Cross site Scripting Vulnerability) |
| 1 | +# HTML to URL 🔗 |
4 | 2 |
|
5 |
| -# WHY? |
6 |
| -1) People Search for it -> https://www.quora.com/Is-there-any-way-to-convert-a-HTML-link-into-URL-link |
| 3 | +Convert small HTML into URLs directly with HTML to URL! This innovative tool makes good use of Cross-Site Scripting Vulnerability to transform HTML snippets into clickable URLs effortlessly. |
7 | 4 |
|
8 |
| -2) To simply explore the concept that url can actually contain the data vs url pointing to a location containing data |
| 5 | +## Why HTML to URL? |
9 | 6 |
|
10 |
| -3) No backend Processing required! (Server serves only html and js directly as a static site ) |
| 7 | +1) People are searching for it! Check out the discussion on Quora: [Is there any way to convert a HTML link into a URL link?](https://www.quora.com/Is-there-any-way-to-convert-a-HTML-link-into-URL-link) |
11 | 8 |
|
12 |
| -4) Because of 3) Website is served directly via CDN -> FASTER Loading |
| 9 | +2) Explore the concept of URLs containing data versus pointing to it. |
13 | 10 |
|
| 11 | +3) No backend processing required! The server serves only HTML and JS directly as a static site, resulting in faster loading. |
14 | 12 |
|
15 |
| -# HOW? |
16 |
| -Works similar to image data urls |
17 |
| -Data is compressed and base64 encoded and placed in the url |
| 13 | +## How Does it Work? |
18 | 14 |
|
19 |
| -#Is it Innovative? |
20 |
| -Certainly , As there is no similar product as per my knowledge |
| 15 | +Similar to image data URLs, data is compressed, base64 encoded, and placed in the URL. |
21 | 16 |
|
22 |
| -# Problems / Disadvantages? |
23 |
| -1)Since the contents of the webpage depend on contents in the url , Its a disaster recepie for Cross site scripting attack |
| 17 | +## Is it Innovative? |
24 | 18 |
|
25 |
| -2)Urls can be horrendously long ! |
| 19 | +Certainly! There's no similar product as per my knowledge. |
26 | 20 |
|
27 |
| -# How would I solve these Problems?(Possibly in a future version) |
28 |
| -1) Can add a Checksum-like value at the end of Url and which would be stored in backend and checked everytime a url is rendered |
29 |
| - |
30 |
| -2) Efficient Data Compression / Template based techniques can be used to overcome long urls |
| 21 | +## Problems / Disadvantages? |
| 22 | + |
| 23 | +1) Vulnerable to Cross-Site Scripting attacks due to webpage content being dependent on URL contents. |
| 24 | +2) URLs can become horrendously long! |
| 25 | + |
| 26 | +## How Would I Solve These Problems? (Possibly in a Future Version) |
| 27 | + |
| 28 | +1) Add a checksum-like value at the end of the URL, stored in the backend and checked every time a URL is rendered. |
| 29 | +2) Implement efficient data compression or template-based techniques to overcome long URLs. |
0 commit comments