curl-users
newline issues
Date: Fri, 14 Oct 2016 21:01:47 -0400
Hi.
Got what should be a simple curl.
The test sets up to be run using disabled javascript. In a test browser
FF/Opera, with javascript disabled cache cleared the return content is
correct.
Basically, a portion of the returned content in/from the curl, appears to
be missing linefeeds (newlines)
The test curl:
echo '' > aa.lwp
curl -v -A "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Firefox/45.0" --cookie-jar aa.lwp --cookie aa.lwp -L "
http://www.bu.edu/link/bin/uiscgi_studentlink/uismpl?ModuleName=univschs.pl"
Checking stackoverflow, as well as different questions/articles didn't shed
any light on this.
The weird thing.. the browser (javascript disabled/cache cleared) works
correctly..
Any thoughts/pointers would be useful..
.
.
.
<TR>
<TD VALIGN="TOP">
<SELECT NAME=Subject>
<OPTION value="">any</option>
<OPTION VALUE="ZULU">Zulurubang's Studiessngo Speakers of Other
Languages(TESOL)rning
</SELECT>
</TD>
.
.
.
vs.. the browser...
<TD VALIGN="TOP">
<SELECT NAME=Subject>
<OPTION value="">any</option>
<OPTION VALUE="ACCT">Accounting
<OPTION VALUE="ACTUARIAL">Actuarial Science
<OPTION VALUE="ADMIN">Administrative Studies
<OPTION VALUE="ADULT ED">Adult and Continuing Education
<OPTION VALUE="AERO MECH">Aerospace & Mechanical Engineering
<OPTION VALUE="AERO STUDY">Aerospace Studies (Air Force)
<OPTION VALUE="AFRICA">African Studies
<OPTION VALUE="AFRICA LAN">African Languages
<OPTION VALUE="AFRICA STU">African American Studies
<OPTION VALUE="AMER NE">American & New England Studies
<OPTION VALUE="AMHARIC">Amharic
<OPTION VALUE="ANATOMY">Anatomy & Neurobiology
<OPTION VALUE="ANTHRO">Anthropology
.
.
.
(and a bunch more option/val content..)
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ: https://curl.haxx.se/docs/faq.html
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-10-16