correct detection on document url (closes #1413)
correct detection on document url (closes #1413)

Eric-Brison/dynacase-core,CircleCode/dynacase-core,CircleCode/dynacase-core,Eric-Brison/dynacase-core,CircleCode/dynacase-core,Eric-Brison/dynacase-core