Merge pull request #2915 from birarda/credits

fix a comment in script handling
This commit is contained in:
Stephen Birarda 2014-05-23 12:37:51 -07:00
commit 3d566bc49f

View file

@ -1048,8 +1048,8 @@ bool DomainServer::handleHTTPRequest(HTTPConnection* connection, const QUrl& url
matchingAssignment = _allAssignments.value(pendingData->getAssignmentUUID());
if (matchingAssignment && matchingAssignment->getType() == Assignment::AgentType) {
// we have a matching assignment and it is for the right type, send a temp re-direct to the
// URL for the script so the client can download
// we have a matching assignment and it is for the right type, have the HTTP manager handle it
// via correct URL for the script so the client can download
QUrl scriptURL = url;
scriptURL.setPath(URI_ASSIGNMENT + "/"