]
[Twitter-bridge: fix for Twitter's new strict policy of rejecting HTTP POSTs with invalid "expect" headers
-Zach Copley <zach@controlyourself.ca>**20081225152207]
\ No newline at end of file
+Zach Copley <zach@controlyourself.ca>**20081225152207]
+[whitespace changes in actions/register.php after global search-and-replace
+Evan Prodromou <evan@prodromou.name>**20081223195722]
\ No newline at end of file
class RegisterAction extends Action
{
-
function handle($args)
{
parent::handle($args);
function try_register()
{
-
$token = $this->trimmed('token');
if (!$token || $token != common_session_token()) {
$this->show_form(_('There was a problem with your session token. Try again, please.'));
-hunk ./lib/twitter.php 31
-- // CURLOPT_USERAGENT => "identi.ca",
-+ # CURLOPT_USERAGENT => "identi.ca",
-hunk ./lib/twitter.php 33
-- CURLOPT_TIMEOUT => 120
-+ CURLOPT_TIMEOUT => 120,
-+ # Twitter is strict about accepting invalid "Expect" headers
-+ CURLOPT_HTTPHEADER => array('Expect:')
-hunk ./lib/util.php 1574
-- CURLOPT_TIMEOUT => 120
-+ CURLOPT_TIMEOUT => 120,
-+
-+ # Twitter is strict about accepting invalid "Expect" headers
-+ CURLOPT_HTTPHEADER => array('Expect:')
+hunk ./actions/register.php 24
+-
+hunk ./actions/register.php 41
+-
class RegisterAction extends Action
{
-
function handle($args)
{
parent::handle($args);
function try_register()
{
-
$token = $this->trimmed('token');
if (!$token || $token != common_session_token()) {
$this->show_form(_('There was a problem with your session token. Try again, please.'));