Skip to content

Commit

Permalink
Item13382: Permit user & pass in proxy URL
Browse files Browse the repository at this point in the history
user and pass were separate options that Configure/Value.pm didn't
accommodate.

NTLM auth is probably still not usable, but this fixes the configure
errors.
  • Loading branch information
gac410 committed Apr 24, 2015
1 parent 2db8d9a commit c3766bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/lib/Foswiki.spec
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,8 @@ $Foswiki::cfg{AccessibleENV} =
# Some environments require outbound HTTP traffic to go through a proxy
# server (for example http://proxy.your.company).

# **URL 30 LABEL="Proxy Host" CHECK='undefok emptyok parts:scheme,authority,path,user,pass \
# **URL 30 LABEL="Proxy Host" CHECK='undefok emptyok parts:scheme,authority,path\
# user pass \
# partsreq:scheme,authority \
# schemes:http,https \
# authtype:hostip' **
Expand Down
2 changes: 2 additions & 0 deletions core/lib/Foswiki/Configure/Value.pm
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ our %CHECK_options = (
partsreq => -1, # for URL
perms => -1, # file permissions
schemes => -1, # for URL
user => -1, # for URL
pass => -1, # for URL
);

our %rename_options = ( nullok => 'undefok' );
Expand Down

0 comments on commit c3766bc

Please sign in to comment.