772dda9 Escape source name before regex'ing.

Authored and Committed by qulogic 4 years ago
    Escape source name before regex'ing.
    
    Otherwise, looking for `/rawhide/srcpkg/gcc-c++` would cause a traceback
    and return a 500, instead of a 404.
    
    Also, only compile regex if we found some packages.
    
        
file modified
+2 -1