Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mnvx opened this issue Aug 3, 2018 · 0 comments
Open

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

mnvx opened this issue Aug 3, 2018 · 0 comments

Comments

@mnvx
Copy link

mnvx commented Aug 3, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant