[NRB-3] isUrlAllowed gets confused by ending / | |
| Status: | Closed |
| Project: | Norbert |
| Component/s: | |
| Affects Version/s: | 0.1 |
| Fix Version/s: | 0.1.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Henri Yandell | Assignee: | Henri Yandell |
| Resolution: | Fixed | ||
| Environment: | |||
| Description |
| Tesd Mielczarek has found a bug: java.lang.IllegalArgumentException: Illegal to use a different url, http://cnnfn.multexinvestor.com, for this robots.txt: http://cnnfn.multexinvestor.com/ in isUrlAllowed. His suggested fix is to switch the code checking this from String based to URL based. Sounds good to me, but first step is to get a unit test that breaks. |
| Comment by bayard [ Sat, 25 Oct 2003 17:51:06 -0700 (PDT) ] |
| Test added to prove 0.1 has the bug, and fix applied to the source code. |