Alix Axel Alix Axel - 1 year ago 189
PHP Question

Passing base64 encoded strings in URL

Is it safe to pass raw base64 encoded strings via GET parameters?

Answer Source

No, you would need to url-encode it, since base64 strings can contain the "+", "=" and "/" characters which could alter the meaning of your data - look like a sub-folder.

Valid base64 characters are below.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download