skip to Main Content

I am currently having trouble with a twitter-bootstrap view on my heroku app. I think that <meta name="viewport" content="width=device-width, initial-scale=1.0"> will make the mobile design of my app responsive. Any suggestions on this? Does this show any possible security issues? I am concerned after reading this Stack Overflow thread.

2

Answers


  1. That meta tag is fine and has nothing to do with CSRF which is mentioned in the linked post. Your meta tag is simply dictating the scale of the website when displayed.

    Login or Signup to reply.
  2. Nope, there are no issues here. csrf_meta_tag is a special meta tag created with a Rails helper, and generates HTML as shown in this example.

    Your responsive initial scale meta tag is a completely different meta tag, and has nothing to do with the csrf_meta_tag.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search