Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 934523 Details for
Bug 832390
perl-Frontier-RPC-Client mishandles proxy settings
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Possible patch
perl-frontier-client-proxy-schemes.patch (text/plain), 722 bytes, created by
Petr Šabata
on 2014-09-04 16:09:31 UTC
(
hide
)
Description:
Possible patch
Filename:
MIME Type:
Creator:
Petr Šabata
Created:
2014-09-04 16:09:31 UTC
Size:
722 bytes
patch
obsolete
>diff --git a/lib/Frontier/Client.pm b/lib/Frontier/Client.pm >index 6ea7b60..8a1fee6 100644 >--- a/lib/Frontier/Client.pm >+++ b/lib/Frontier/Client.pm >@@ -28,8 +28,11 @@ sub new { > if !defined $self->{'url'}; > > $self->{'ua'} = LWP::UserAgent->new; >- $self->{'ua'}->proxy('http', $self->{'proxy'}) >- if(defined $self->{'proxy'}); >+ my @schemes = map >+ { $_ if $self->{'ua'}->is_protocol_supported($_) } >+ qw/http https ftp ftps/; >+ $self->{'ua'}->proxy([@schemes], $self->{'proxy'}) >+ if(defined $self->{'proxy'} && @schemes); > $self->{'rq'} = HTTP::Request->new (POST => $self->{'url'}); > $self->{'rq'}->header('Content-Type' => 'text/xml'); > # Patch to enable basic authentication:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 832390
:
934523
|
1200473