mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-30 17:20:32 +01:00
2023-05-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the WebAPI that caused imports to bypass the maximum file size limitation set the 'System Settings' in rdadmin(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -80,6 +80,17 @@ QString RDXmlField(const QString &tag,const int value,const QString &attrs)
|
||||
}
|
||||
|
||||
|
||||
QString RDXmlField(const QString &tag,const int64_t value,const QString &attrs)
|
||||
{
|
||||
QString str="";
|
||||
|
||||
if(!attrs.isEmpty()) {
|
||||
str=" "+attrs;
|
||||
}
|
||||
return QString("<")+tag+str+">"+QString::asprintf("%ld",value)+"</"+tag+">\n";
|
||||
}
|
||||
|
||||
|
||||
QString RDXmlField(const QString &tag,const unsigned value,const QString &attrs)
|
||||
{
|
||||
QString str="";
|
||||
|
||||
Reference in New Issue
Block a user