Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Server Error when preview comment having char < 0x1f, or char==0x7f #29
From @marty-b on March 29, 2015 21:28
Tried to submit a comment to: https://dev.soylentnews.org/article.pl?sid=15/03/29/1622202
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, email@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
7.) paulej72 provided this snippet from logs:
[Sun Mar 29 20:49:50 2015] [error] /comments.pl:ModPerl::ROOT::ModPerl::Registry::srv_soylentnews_2eorg_rehash_site_soylent_2dmainpage_htdocs_comments_2epl:/srv/soylentnews.org/rehash/site/soylent-mainpage/htdocs/comments.pl:506:cannot getSkin for empty skid='0' ;; Which was called by:ModPerl::ROOT::ModPerl::Registry::srv_soylentnews_2eorg_rehash_site_soylent_2dmainpage_htdocs_comments_2epl:/srv/soylentnews.org/rehash/site/soylent-mainpage/htdocs/comments.pl:329
Copied from original issue: SoylentNews/slashcode#435
From @NCommander on March 30, 2015 5:15
Ugh. I'm guessing this is a problem with perl 5.20 vs. mod_perl 2. Paging
On Sun, Mar 29, 2015 at 5:30 PM, Marty B firstname.lastname@example.org wrote:
referenced this issue
Apr 24, 2015
I appear to have accidently fixed this on dev: the following text: <a href="http://www.google.com/search?q="♥">proper no longer 500s. However, the link is missing the unicode char; this behavior is consistent with production. I have no idea how I fixed it, I didn't make a code change but I was screwing with Apache's configuration to move the vhost log into error log to get feedback.
This appears strongly related to the issue: http://blog.endpoint.com/2010/12/character-encoding-in-perl-decodeutf8.html