Commit f042af3a authored by Yadd's avatar Yadd

Optimize URL escape calls (#595)

parent dfcd8486
......@@ -79,11 +79,9 @@ sub extractFormInfo {
# 1.1 Try to get token to dialog with Twitter
my $callback_url = $self->p->fullUrl($req);
my %prm = ( twitterback => 1 );
# Twitter callback parameter
$callback_url .=
( $callback_url =~ /\?/ ? '&' : '?' ) . "twitterback=1";
my %prm = ( twitterback => 1 );
# Add request state parameters
if ( $req->datas->{_url} ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment