ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Disallowed Key Characters error

May 06, 2011 1:06pm

Subscribe [2]
  • #1 / May 06, 2011 1:06pm

    upshot

    85 posts

    We need to pass an email address in the URL from an email to ExpressionEngine.  I’m using Freebie to assist with passing additional parameters and that works fine but if I try to pass along an email address I get “Disallowed Key Characters”.

    Example:

    <a href="http://mydomain.com/a/johndoe@hotmail">http://mydomain.com/a/johndoe@hotmail</a>

    I am encoding the “@” as “% 40” (no spaces) but you can’t see it because this forum is converting the character.  This URL will throw an error, where as this will not:

    <a href="http://mydomain.com/a/johndoe">http://mydomain.com/a/johndoe</a>

    The “@” is URL encoded so it should work?  Any way around this?

    NOTE: This is what is in my config.php file:

    $config[‘permitted_uri_chars’] = ‘a-z 0-9~%\.:_\-?=&’;

    I’m trying to add the @ to this string but so far no success.

  • #2 / May 06, 2011 1:37pm

    upshot

    85 posts

  • #3 / May 07, 2011 11:16am

    Sue Crocker

    26054 posts

    Hi, upshot. What did you do to fix it?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases