Skip to content

How to specify non relative url for saving file? #6

@mnvx

Description

@mnvx

I try to specify specify url for saving file:

<iframe src="{{ url_for(
        'static',
        filename='daxe/daxe.html',
        config='config/gost_config.xml',
        file='/documenteditordaxe/2?document_version_id=44&random_workaround=0.6865005110307894',,
        save='/test-save'
    ) }}" class="editor-frame"></iframe>
</div>

Iframe loads data from

Request URL: http://127.0.0.1:5001/static/daxe/daxe.html?config=config%2Fgost_config.xml&file=%2Fdocumenteditordaxe%2F2%3Fdocument_version_id%3D44%26random_workaround%3D0.6865005110307894&save=%2Ftest-save

file loads from url

Request URL: http://127.0.0.1:5001/documenteditordaxe/2?document_version_id=44&random_workaround=0.6865005110307894&random_workaround=0.594691556483665

But when I click to save button, request going to page http://127.0.0.1:5001/static/daxe/%2Ftest-save instead of http://127.0.0.1:5001/test-save

Is any way to specify non relative url for save?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions