Firebase redirect with parameters

737 views
Skip to first unread message

Jakub Rozmiarek

unread,
Feb 17, 2016, 9:10:40 AM2/17/16
to Firebase Google Group
Hi,

I have a redirect configured like this:

{
  "source": "../../launch",
  "type": 301
},

a form is submitted to the source path with some url encoded data (/launch?data=my_data). I want this data to be present in the destination url I'm redirecting to (https://example.com/en/entries/new?data=my_data).
Is it possible to configure a redirect like this?
Direct submit of the form to the destination url is not an option.

Thanks in advance
Jakub

Michael Bleigh

unread,
Feb 17, 2016, 1:51:47 PM2/17/16
to Firebase Google Group
Hi Jakub,

While redirects with parameters are possible, it's not presently possible to redirect to a query parameter. You can do:

{"source":"/some/:where", "destination":"/else/:where"}

But it only works in path segments, not in the query string.

Hope that clears things up!

-Michael

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/fedb4d82-6f1e-46fe-8c5c-5783a1e39039%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages