Changeset 7524
- Timestamp:
- 11/27/06 22:07:37 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Jav_BDP/com/scenari/m/bdp/service/viewfiles/HSDialogViewFiles.java
r7463 r7524 440 440 } 441 441 442 //Controle que la dst ne soit pas un fils de source : boucle infinie. 443 if (vUrlDst.startsWith(fSource.hGetPath()) && vUrlDst.length()>fSource.hGetPath().length() && vUrlDst.charAt(fSource.hGetPath().length())=='/') { 444 fPageResultatDav = new WResultatError(HWebdavCodes.SC_FORBIDDEN); 445 return this; 446 } 447 442 448 //Controle de l'existence de la destination. 443 449 int vStatutDst = vDst.hGetStatus(); … … 537 543 return this; 538 544 } 545 } 546 547 //Controle que la dst ne soit pas un fils de source : boucle infinie. 548 if (vUrlDst.startsWith(fSource.hGetPath()) && vUrlDst.length()>fSource.hGetPath().length() && vUrlDst.charAt(fSource.hGetPath().length())=='/') { 549 fPageResultatDav = new WResultatError(HWebdavCodes.SC_FORBIDDEN); 550 return this; 539 551 } 540 552
Note: See TracChangeset
for help on using the changeset viewer.