Falsk url redirect with Masking
See original GitHub issueIs there a way to redirect url in flask app and mask the url?
@app.route("/test")
def handle_ext_url():
url = "https://www.google.com"
return redirect(url)
I just want my addressbar to show localhost:8080/test but the page should show google.com.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Flask - Hidden redirect, How to do URL Masking in Flask?
I have a task where I need to redirect to an external url, which will then POST redirect back to the flask app...
Read more >Redirect Entire Domain with Flask - Amir Rachum's Blog
This means that blog.amir.rachum.com should redirect to amir.rachum.com and that every URL should redirect to its appropriate counterpart ...
Read more >Building Url Dynamically In Flask Web Framework - YouTube
github: https://github.com/krishnaik06/ Flask -Web-FrameworkWe at iNeuron are happy to announce multiple series of courses.
Read more >How to mask a domain name with another? : r/flask - Reddit
I created a web app, where a user get a pre-made website upon signup (e.g. www.webapp.com/user1 ) I would like users to use...
Read more >How to Make Your Own URL Shortener — Straightforward ...
The logic is simple, look up the URL that the user-provided, if it exists, redirect to the corresponding website, else, send the user...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Got it. I think this issue is out of Flask scope.
@nhdinh @ThiefMaster I do not want to use iframe, I just want to mask my address bar to my flask app host port and show web content of redirected url. Similar to what we do in the masked domain forward.