View Issue Details

IDProjectCategoryView StatusLast Update
0001483unrealdocumentationpublic2004-01-12 12:57
Reportergauntlet Assigned To 
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionopen 
Product Version3.2-beta19 
Summary0001483: remote include from passworded site
DescriptionI get an error [01:44:17] -Smurfs.DecayOnline.Com- *** Notice -- error: Error downloading http://blah.blah.com/Network/DecayOnline.Network: The requested URL returned error: 401
Steps To ReproducePassword protecting the site, but the password and username are both correct having been checked and rechecked.
3rd party modules

Activities

syzop

2004-01-10 14:12

administrator   ~0004602

works fine here (http://user:pass@bla/dir/test.conf). tried both at startup and adding-line-while-running-and-/rehash.

codemastr

2004-01-10 16:28

reporter   ~0004604

Yeah seems to work fine for me as well. Are you sure your URL syntax is correct? If you copy/paste the URL from unrealircd.conf into your web browser, does it work?

gauntlet

2004-01-11 03:48

reporter   ~0004615

when i copy the URL from config to browser it works fine..

gauntlet

2004-01-11 03:48

reporter   ~0004616

could it be that *nix authentication does not like winblows box authentication on websites.

codemastr

2004-01-11 04:38

reporter   ~0004617

The type of system is 100% irrelevant, that's what standards are for. Could you paste the include line (with user/password changed)?

gauntlet

2004-01-11 04:51

reporter   ~0004618

include "http://ircdrem:[email protected]/dl/Network/DecayOnline.Network"
works just fine on my server, tried serveral times.

codemastr

2004-01-11 05:09

reporter   ~0004619

Ah I think I see the problem. That's not truly a valid URL. A browser will accept it because browsers like to be "user friendly" but it technically is illegal. You have to "escape" the $. Try replacing the $ with %26 and it should work.

gauntlet

2004-01-11 05:12

reporter   ~0004620

thanks
heh my bad
i will try that

gauntlet

2004-01-11 05:13

reporter   ~0004621

nope still did not work

gauntlet

2004-01-11 05:14

reporter   ~0004622

include "http://ircdrem:chunga%262k%[email protected]/dl/Network/DecayOnline.Network";

codemastr

2004-01-11 05:16

reporter   ~0004623

It would be nice if unreal did this for you (I'd really like it if it did), unfortunately, this would mean you'd have to install another library (probably the Senga URI library). Me personally, I think the installation process is long enough, however if there are enough people out there who want this I don't mind adding it.

gauntlet

2004-01-11 05:17

reporter   ~0004624

i will look into it some more also and let you know if i find a solution b4 having to get any other libs installed

codemastr

2004-01-11 05:20

reporter   ~0004625

Blah, sorry I must be drunk or something, %24 not %26 :)

gauntlet

2004-01-11 05:21

reporter   ~0004626

lol
k

gauntlet

2004-01-11 05:22

reporter   ~0004627

Well the %24 idea didnt work either....

gauntlet

2004-01-11 05:23

reporter   ~0004628

ne way ill get back to ya on this i have a massive migraine so its definately time to take a break.

codemastr

2004-01-11 05:26

reporter   ~0004629

In the first password you pasted you had 1 $ in the second you had 2. Typo somewhere?

gauntlet

2004-01-11 20:00

reporter   ~0004639

from my own previous experience with *nix to windows authentication on websites or any of the sort, it was almost always rejected because *nix systems were not talking in a way for win systems to understand. I have tried changing the password, i have reset it, still no go.

gauntlet

2004-01-11 20:02

reporter   ~0004640

Right off the back in the *nix browser, i put in the URL both without and with the user/pass combo and still get http 401

gauntlet

2004-01-11 20:03

reporter   ~0004641

the only browser that accepted the user/combo wuz windows internet explorer and linux mozilla firebird

gauntlet

2004-01-11 20:03

reporter   ~0004642

the only browser that accepted the user/combo wuz windows internet explorer and linux mozilla firebird

syzop

2004-01-11 20:09

administrator   ~0004644

are you using NTLM authentication or something? :P

gauntlet

2004-01-11 20:11

reporter   ~0004645

not exactly sure but suspects so......should i try plain text (bleh)

syzop

2004-01-11 20:12

administrator   ~0004646

see http://curl.haxx.se/docs/features.html btw for a full list of supported stuff (ctrl+f auth).

gauntlet

2004-01-11 20:17

reporter   ~0004647

Ok, so plain text is the only way to make this work.... but its workin.

syzop

2004-01-12 12:57

administrator   ~0004678

actually no, but.. let's not make this a forum ;)

Issue History

Date Modified Username Field Change
2004-01-10 07:39 gauntlet New Issue
2004-01-10 14:12 syzop Note Added: 0004602
2004-01-10 16:28 codemastr Note Added: 0004604
2004-01-11 03:48 gauntlet Note Added: 0004615
2004-01-11 03:48 gauntlet Note Added: 0004616
2004-01-11 04:38 codemastr Note Added: 0004617
2004-01-11 04:51 gauntlet Note Added: 0004618
2004-01-11 05:09 codemastr Note Added: 0004619
2004-01-11 05:12 gauntlet Note Added: 0004620
2004-01-11 05:13 gauntlet Note Added: 0004621
2004-01-11 05:14 gauntlet Note Added: 0004622
2004-01-11 05:16 codemastr Note Added: 0004623
2004-01-11 05:17 gauntlet Note Added: 0004624
2004-01-11 05:20 codemastr Note Added: 0004625
2004-01-11 05:21 gauntlet Note Added: 0004626
2004-01-11 05:22 gauntlet Note Added: 0004627
2004-01-11 05:23 gauntlet Note Added: 0004628
2004-01-11 05:26 codemastr Note Added: 0004629
2004-01-11 20:00 gauntlet Note Added: 0004639
2004-01-11 20:02 gauntlet Note Added: 0004640
2004-01-11 20:03 gauntlet Note Added: 0004641
2004-01-11 20:03 gauntlet Note Added: 0004642
2004-01-11 20:09 syzop Note Added: 0004644
2004-01-11 20:11 gauntlet Note Added: 0004645
2004-01-11 20:12 syzop Note Added: 0004646
2004-01-11 20:17 gauntlet Note Added: 0004647
2004-01-12 12:57 syzop Status new => closed
2004-01-12 12:57 syzop Note Added: 0004678