Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7036 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Aug 13, 2010
1 parent 87b1684 commit eb97bed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/de/anomic/http/server/HTTPDemon.java
Expand Up @@ -687,8 +687,9 @@ public static int parseArgs(final serverObjects args, String argsString) {
// Textfield1=default+value+Textfield+1&Textfield2=default+value+Textfield+2&selection1=sel1&selection2=othervalue1&selection2=sel2&selection3=sel3&Menu1=SubEnry11&radio1=button1&check1=button2&check1=button3&hidden1=&sButton1=enter+%281%29
while (argsString.length() > 0) {
eqp = argsString.indexOf('=');
sep = argsString.indexOf('&');
if ((eqp <= 0) || (sep <= 0)) break;
if (eqp <= 0) break;
sep = argsString.indexOf('&', eqp + 1);
if (sep <= 0) break;
// resulting equations are inserted into the property args with leading '&'
args.put(parseArg(argsString.substring(0, eqp)), parseArg(argsString.substring(eqp + 1, sep)));
argsString = argsString.substring(sep + 1);
Expand Down

0 comments on commit eb97bed

Please sign in to comment.