mirror of
https://github.com/igniterealtime/Spark.git
synced 2026-02-20 13:45:29 +00:00
Fileupload plugin: change uploadrequest parsing function
This commit is contained in:
@ -77,11 +77,11 @@ public class UploadRequest extends IQ
|
||||
{
|
||||
if ( parser.getName().equals( "put" ) )
|
||||
{
|
||||
uploadRequest.getUrl = parser.nextText();
|
||||
uploadRequest.putUrl = parser.getAttributeValue(null, "url");
|
||||
}
|
||||
else if ( parser.getName().equals( "get" ) )
|
||||
{
|
||||
uploadRequest.putUrl = parser.nextText();
|
||||
uploadRequest.getUrl = parser.getAttributeValue(null, "url");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user