Skip to content

url_get: handle filenames on windows #7

@mistoll

Description

@mistoll

overlay_url_for uses os.path.sep to split the filename into a list.

os.path.sep is platform dependant, hence the template is platform dependant, which is not desired.

On linux:
url_for('bower.static', filename='jquery/dist/jquery.js')
On Windows:
url_for('bower.static', filename='jquery\\dist\\jquery.js')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions