10be620ec5a250bc7b7a3ec89b956eb5ca6f8147,django/ckeditor/views.py,,get_media_url_project,#Any#Any#,185

Before Change


    
    
    // upload files to project folder which is open to all by default     
    return reverse("filetransfers.views.serve"\
                   ,kwargs={"project_name":projectname,\
                            "path":os.path.join(settings.COMIC_PUBLIC_FOLDER_NAME,filename)})
                                               

def get_image_files(user=None):
    

After Change


                                           // infinite loop /filename/filename/filename..
     
    // upload files to project folder which is open to all by default     
    url =  reverse("project_serve_file",
                   kwargs={"project_name":projectname,
                           "path":filepath})        
    return url
                                               

def get_image_files(user=None):
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: comic/grand-challenge.org
Commit Name: 10be620ec5a250bc7b7a3ec89b956eb5ca6f8147
Time: 2013-07-25
Author: w.s.kerkstra@gmail.com
File Name: django/ckeditor/views.py
Class Name:
Method Name: get_media_url_project


Project Name: comic/grand-challenge.org
Commit Name: 6789d0372044e4234d209710910f9a56efaaf586
Time: 2019-05-14
Author: code@jmsmkn.com
File Name: app/grandchallenge/profiles/views.py
Class Name:
Method Name: profile


Project Name: comic/grand-challenge.org
Commit Name: 6789d0372044e4234d209710910f9a56efaaf586
Time: 2019-05-14
Author: code@jmsmkn.com
File Name: app/grandchallenge/profiles/views.py
Class Name:
Method Name: profile_edit_redirect


Project Name: comic/grand-challenge.org
Commit Name: ea037c194cb1f8a2957276f8a72a43f8db3d5476
Time: 2013-07-25
Author: w.s.kerkstra@gmail.com
File Name: django/ckeditor/views.py
Class Name:
Method Name: get_media_url_project