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

reload page after app close - wait - app open, url is incorrectly encoded #318

Open
darenr opened this issue Dec 27, 2017 · 1 comment
Open

Comments

@darenr
Copy link
Contributor

darenr commented Dec 27, 2017

This one was weird and took a while to reproduce. I have an app with a search tab. The search is executed and pust transitioned to the results:

  "type": "$href",
  "options": {
     "url": "%s/kmap_do_search?q=%s" % (app_base, trend),
     "transition": "push"
}

the url that the server sees is (for example)

method=GET path="/kmap_do_search?q=claire%20fontaine"

I then re-open the app sometime laster, not immediately, but maybe 20 mins later, presumably iOS has put the app in some hibernate state. Then I re-open the app, the view opens and the foreground action gets called:

"$foreground": 
        "type": "$reload"
}

What I see in the server logs now is

method=GET path="/kmap_do_search?q=claire%252520fontaine"

Notice the double encoding.

@gliechtenstein
Copy link
Contributor

can you share the full code so i can try it?

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

2 participants