Mercurial Hosting > luan
changeset 1421:8ab2f0fc3829
fix
| author | Franklin Schmidt <fschmidt@gmail.com> | 
|---|---|
| date | Sat, 26 Oct 2019 22:28:46 -0600 | 
| parents | 225808b90cee | 
| children | e48290f3d9fb | 
| files | src/luan/modules/url/LuanUrl.java | 
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] | 
line wrap: on
 line diff
--- a/src/luan/modules/url/LuanUrl.java Sat Oct 26 22:21:09 2019 -0600 +++ b/src/luan/modules/url/LuanUrl.java Sat Oct 26 22:28:46 2019 -0600 @@ -73,6 +73,7 @@ } LuanTable auth = Utils.removeTable(options,"authorization"); if( auth != null ) { + auth = new LuanTable(auth); if( headers!=null && headers.containsKey("authorization") ) throw new LuanException( "can't define authorization with header 'authorization' defined" ); String username = Utils.removeString(auth,"username");
