How to test password protected pages

0 views
Skip to first unread message

vishal

unread,
Oct 26, 2011, 5:00:39 PM10/26/11
to DaisyDiff
Hi

This tool is great. used and loved the output.
I have an issue with password protected webpages.

I am not able to pass userid/password while comparing two webpages
that are password protected.
I also tried putting userid/password in url like
http://username:pass...@pageurl.html
But this also didnt work.

Any pointers will be greatly helpful

Thanks
Vishal

Kostis Kapelonis

unread,
Oct 26, 2011, 5:48:24 PM10/26/11
to dais...@googlegroups.com
On Thu, Oct 27, 2011 at 12:00 AM, vishal <cra...@gmail.com> wrote:
> Hi
>
> This tool is great. used and loved the output.
> I have an issue with password protected webpages.
>
> I am not able to pass userid/password while comparing two webpages
> that are password protected.
> I also tried putting userid/password in url like
> http://username:pass...@pageurl.html
> But this also didnt work.
>

DaisyDiff uses normal Java URI which does not seem to support this directly.
See http://download.oracle.com/javase/6/docs/api/java/net/URI.html for
the exact format.

The code could be modified to include password authentication but IMHO
this is not the main purpose
of daisyDiff.

My suggestion would be to use another tool to bring the files locally
that accepts auth (such as wget or curl in Unix)
and then run daisydiff locally to compare the files retrieved.

If you insist you can open a feature request in google code issue
tracker and at some point in time somebody
might implement it (It could be me as well)

Kostis

vishal bhat

unread,
Oct 26, 2011, 6:59:39 PM10/26/11
to dais...@googlegroups.com
Hi 

The reason i dont want to crawl the local copy of pages is that while comparing webpages directly daisydiff gave the differences in images very correctly across the pages. On local copy as there wont the referenced images available the diff output will not be same.

Thanks
Vishal


--
You received this message because you are subscribed to the Google Groups "DaisyDiff" group.
To post to this group, send email to dais...@googlegroups.com.
To unsubscribe from this group, send email to daisydiff+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/daisydiff?hl=en.


Kostis Kapelonis

unread,
Oct 27, 2011, 5:11:41 AM10/27/11
to dais...@googlegroups.com
On Thu, Oct 27, 2011 at 1:59 AM, vishal bhat <cra...@gmail.com> wrote:
> Hi
> The reason i dont want to crawl the local copy of pages is that while
> comparing webpages directly daisydiff gave the differences in images very
> correctly across the pages. On local copy as there wont the referenced
> images available the diff output will not be same.
> Thanks
> Vishal

Ok then. Do you know Java? If yes I can tell you exactly what are the
code changes needed.

vishal bhat

unread,
Oct 27, 2011, 4:08:14 PM10/27/11
to dais...@googlegroups.com
Hi 

Yes we do. Please share the information.

Thanks
Vishal 

Kostis Kapelonis

unread,
Oct 28, 2011, 6:50:57 AM10/28/11
to dais...@googlegroups.com
On Thu, Oct 27, 2011 at 11:08 PM, vishal bhat <cra...@gmail.com> wrote:
> Hi
> Yes we do. Please share the information.

I have added some guidelines at
http://code.google.com/p/daisydiff/issues/detail?id=39.
I hope that everything is clear.

Kostis

Reply all
Reply to author
Forward
0 new messages