ManuelDeLeon / viewmodel-react

Create your React components with view models.
MIT License
24 stars 3 forks source link

The State on URL data is not encrypted. #30

Open antoninadert opened 7 years ago

antoninadert commented 7 years ago

I understand it is not encrypted, then why is it cryptic-like?

e.g.

 ?,vmdata=N4IgggDhD0DaAMBdaAlApgQwMYBcAiA9lgK4C2aAdjhjgJYEVxLRgAmAbhhVmq08gGVqONAHkKAVRQAZaCABcoLAQA2BAE4KQATzQq1AdxABfY0A#

If You don't encrypt it, make it human-readable so I can share-modify it easily

ManuelDeLeon commented 7 years ago

The data is equally unreadable once you url encode it. The data is compressed to get around url length limitations. This is something I'm seriously thinking of making an option. If you don't put a lot of data on the URL then you don't have to pay the compression tax.

On Sep 14, 2017 6:17 PM, "Antonin Adert" notifications@github.com wrote:

I understand it is not encrypted, then why is it cryptic-like?

e.g.

?,vmdata=N4IgggDhD0DaAMBdaAlApgQwMYBcAiA9lgK4C2aAdjhjgJYEVxLRgAmAbhhVmq08gGVqONAHkKAVRQAZaCABcoLAQA2BAE4KQATzQq1AdxABfY0A#

If You don't encrypt it, make it human-readable so I can share it easily

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ManuelDeLeon/viewmodel-react/issues/30, or mute the thread https://github.com/notifications/unsubscribe-auth/AED31j-GPrVPkDTObkXUHnEmnNRdQunEks5sicI0gaJpZM4PYVnn .

antoninadert commented 7 years ago

I am thinking the same way... It should be an option. Sometimes you just want to share one or 2 properties (max)