• Resolved trishahdee

    (@trishahdee)


    I have searched the web but have only found references to this problem and no solutions.

    PROBLEM
    The special character for a line feed, i.e., %0A is showing in only the menu urls and only in Safari browsers (Safari on Mac, iPhones and PCs).

    https://standrewsspringlake.org%0A/give/
    https://standrewsspringlake.org%0A/weddings/

    And on W3C Validation, all menu links show the same error (except for listing different lines and urls of course). Here is their error for the /give/ page:

    Error Line 90, Column 8: Bad value https://standrewsspringlake.org?/give/ for attribute href on element a: Control character in host component.

    /give/”>Give

    Syntax of IRI reference:
    Any URL. For example: /hello, #canvas, or https://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.

    POSSIBLE CAUSE?

    Since 01 March 2013 I have only the following error listed in the root error log:

    [08-Apr-2013 16:58:31] PHP Warning: Header may not contain more than a single header, new line detected. in /home/slkumc/public_html/site/wp-includes/link-template.php on line 2406

    And FireBug console is showing this error:

    SyntaxError: unterminated string literal
    [Break On This Error]
    {title:’Give’,url:’https://standrewsspringlake.org
    sm9.html (line 1, col 18)
    https://a2a.lockerz.com/menu/sm9.html

    <script type="text/javascript"><!--
    wpa2a.targets=[
    {title:'Give',url:'https://standrewsspringlake.org
    /give/'}];
    wpa2a.html_done=true;if(wpa2a.script_ready&&!wpa2a.done)wpa2a.init();wpa2a.script_load();
    //--></script>
    <script type='text/javascript'>
    /* <![CDATA[ */
    timely.define( 'ai1ec_calendar', {"export_url":"webcal:\/\/standrewsspringlake.org\r\n\/?plugin=all-in-one-event-calendar&controller=ai1ec_exporter_controller&action=export_events&cb=1094208838","fonts":[{"name":"League Gothic","url":"http:\/\/standrewsspringlake.org\/site\/wp-content\/themes-ai1ec\/vortex\/font_css\/font-league-gothic.css"},{"name":"fontawesome","url":"http:\/\/standrewsspringlake.org\/site\/wp-content\/themes-ai1ec\/vortex\/font_css\/font-awesome.css"}]} );
    /* ]]> */
    </script>

    The site was launched just before Christmas and no new plugins have been added and no major changes to the site. All plugins and WP are current versions.

    This last error seems to be coming from the timely calendar plugin. Could this be the cause of all these problems? And why would a url to a clothing website be referenced in FireBug error?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter trishahdee

    (@trishahdee)

    Update

    I have been doing some testing. NOTE: This is only happening with the Safari browser.

    I turned off all plugins and activated theme Twenty Ten (instead of my Catch Box child theme). Under this configuration all the menu items work fine EXCEPT the Home tab in the top menu which in Safari displays as follows:

    https://standrewsspringlake.org%0A/

    When I activate theme Twenty Eleven then all the main menu items and the Home tab have the added characters.

    When I activate theme Twenty Twelve then only the Home tab has the problem.

    The difference between these three themes is that Twenty Eleven shows the drop down menu items where the others do not.

    All plugins and core WP are up to date but as I said, the above happened with all plugins turned off.

    Any help or insight would be greatly appreciated!

    Thread Starter trishahdee

    (@trishahdee)

    Issue Solved

    Background
    I install WP in its own directory then, when I’m ready to take the site live, I move the index and change the .htaccess and the settings > General > website url to reflect the root domain.

    The Problem Found
    Apparently, when I did this for this site, instead of deleting the folder name in the website url I must have hit the enter/return key. This did remove the directory name but added that pesky return which I could not see as the input is only one line in height. I checked this setting multiple times and it looked right so I didn’t look closer. Eventually I found the error by searching the database and looking into the individual field entries.

    I’m sure I’m not the first person to do this, but it may be rare and therefore not of great urgency for repair… However, it would be good if the settings > general > WordPress Address (URL) and > Site Address (URL) were restricted so not to allow returns. I’ll post this suggestion on the appropriate form.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Line Feed Special Charater Only In Safari Browser urls’ is closed to new replies.