geary / google-election-center-data

Automatically exported from code.google.com/p/google-election-center-data
0 stars 0 forks source link

Strongarmed values for googlelabs feature contain dos newline characters #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
/profiles/google_ee/modules/features/ee_googlelabs/ee_googlelabs.strongarm.inc 
has 

  $strongarm->value = '<front>|http://electioncenter.googlelabs.com^M
help|http://electioncenter.googlelabs.com/help.html^M
about|http://electioncenter.googlelabs.com/about.html^M
gadget|http://electioncenter.googlelabs.com/embed.html';

(note the ^M's, if they don't show up in the issue report, there is an extra ^M 
at the end of each line)

This is not a valid part of the newline sequence on linux (though is on 
windows), and causes the server base url to be confused.
This in turn causes drupal to think it can't issue http requests and complain 
in the status report (which is why i tracked this down in the first place)
The URL it tries to check is:http://electioncenter.googlelabs.com\r/ (the \r is 
the escaped version of ^M), which of course, it can't resolve because it's not 
a valid hostname.

I have fixed this locally by removing the ^M's, you may want to fix it in your 
repo (or i could push this change, I don't know which you prefer)

Original issue reported on code.google.com by dan...@google.com on 9 Sep 2010 at 4:38

GoogleCodeExporter commented 9 years ago

Original comment by dan...@google.com on 9 Sep 2010 at 4:39