[solved] 2.0 email address with hyphen "invalid"

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
User avatar
PinkElephant
Forum Members
Forum Members
Posts: 173
Joined: Fri Feb 06, 2009 2:08 pm

[solved] 2.0 email address with hyphen "invalid"

Post by PinkElephant »

Hi

With a clean install of 2.0 when I try to edit/save the email address at 'My Account -> User Account' I'm getting "The email address entered is invalid" -- for any address that contains a hyphen.

For example, t-t@example.com will fail (but 't_t@example.com' is OK). I guess that admin uses a different validation routine than the installer.

Code: Select all

Cms Version: 2.0

Installed Modules:

    AdminSearch: 1.0
    CMSContentManager: 1.0
    DesignManager: 1.0
    FileManager: 1.5
    MicroTiny: 2.0
    ModuleManager: 2.0
    Navigator: 1.0
    News: 2.50
    Search: 1.50
    Gallery: 2.0.2


Config Information:

    php_memory_limit:
    max_upload_size: 15000000
    url_rewriting: mod_rewrite
    page_extension:
    query_var: page
    auto_alias_content: true
    locale:
    set_names: true
    timezone: Europe/London
    permissive_smarty: false


Php Information:

    phpversion: 5.6.13-0+deb8u1
    md5_function: On (True)
    json_function: On (True)
    gd_version: 2
    tempnam_function: On (True)
    magic_quotes_runtime: Off (False)
    E_STRICT: 0
    E_DEPRECATED: 0
    test_file_timedifference:
    test_db_timedifference:
    memory_limit: 128M
    max_execution_time: 120
    output_buffering: 4096
    file_uploads: On (True)
    post_max_size: 15M
    upload_max_filesize: 15M
    session_save_path: /var/lib/php5/sessions (1733)
    session_use_cookies: On (True)
    xml_function: On (True)
    xmlreader_class: On (True)


Performance Information:

    allow_browser_cache: Off (False)
    browser_cache_expiry: 60
    php_opcache: On (True)
    smarty_cache: Off (False)
    smarty_compilecheck: Off (False)
    smarty_cache_udt: Off (False)
    auto_clear_cache_age: On (True)

Server Information:

    Server Api: apache2handler
    Server Db Type: MySQL (mysqli)
    Server Db Version: 5.5.44
    Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
    Server Time Diff: No file system time difference found
In case it's relevant, System Info gives a notification for 'disable_functions in PHP' which flags: pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority
Last edited by PinkElephant on Tue Sep 22, 2015 6:29 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: 2.0 email address with hyphen "invalid"

Post by calguy1000 »

it was actually an html entities issue. fixed in svn, thanks.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
PinkElephant
Forum Members
Forum Members
Posts: 173
Joined: Fri Feb 06, 2009 2:08 pm

Re: 2.0 email address with hyphen "invalid"

Post by PinkElephant »

Great work, thanks!
Locked

Return to “CMSMS Core”