public static List URIMutator(List<String> uripaths){
  List<String> modifiedPaths=new ArrayList<>();
  modifiedPaths.addAll(uripaths);
  for (int i=0; i < uripaths.size(); i+=1) {
    modifiedPaths.set(i,"/" + uripaths.get(i));
  }
  return modifiedPaths;
}

public static List URIMutator ( List < String > uripaths ) { List < String > modifiedPaths = new ArrayList < > ( ) ; modifiedPaths . addAll ( uripaths ) ; for ( int i = 0 ; i < uripaths . size ( ) ; i += 1 ) { modifiedPaths . set ( i , "/" + uripaths . get ( i ) ) ; } return modifiedPaths ; }
iterate on a list of uris paths and apply some modifiers to circumvent some weak acl protections or weak / wrong mod_rewrite rules . example : cwe - 50 : path equivalence : ' / / multiple / leading / slash ' https : / / cwe . mitre . org / data / definitions / 50 . html
