After many experiments, I can say this patch works perfectly. Thanks!
BTW, immediately after the call to $mech->get(), $mech->base() still gives the wrong value. It get fixed after a call to $mech->links(), which is OK for me.
In reply to Re^2: WWW::Mechanize doesn't respect <base>? (patch)
by Arik123
in thread WWW::Mechanize doesn't respect <base>?
by Arik123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |