Answers.Body: <p>Ooops - my mistake. I had included "http://" in the href before the token. Sorry for the trouble and the answers</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-29T00:36:50.110Z
Answers.Text: so its fixed, right? Might want to comment and edit the original post
Answers.UserDisplayName: Donald Lobo
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-30T15:39:08.537Z
Answers.Text: @DonaldLobo Since the question and answer might be helpful to others, I believe proper StackExchange protocol is to [accept this answer](http://blog.stackoverflow.com/2011/07/its-ok-to-ask-and-answer-your-own-questions/). If the question/answer pair is not helpful, then Martin should delete the original question.
Answers.UserDisplayName: choster
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-28T22:04:56.453Z
Answers.LastActivityDate: 2015-04-28T22:04:56.453Z
Answers.UserDisplayName: Martin Fuggle
Answers.Body: <p>Go to Resource URL Settings (<strong>Administer menu > System Settings > Resource URLs</strong>).  I'd guess that you'll see an setting there containing a malformed URL.</p>
  
  <p>If not, please update your question with your version number and the values you see in that screen.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-28T21:38:42.133Z
Answers.Text: Resource URLs are just fine. Version is 4.5.8
Answers.UserDisplayName: Martin Fuggle
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-28T17:28:37.483Z
Answers.LastActivityDate: 2015-04-28T17:28:37.483Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>When I click on the {mailing.viewUrl} inside an email the URL formed is as follows:</p>
  
  <p>www.http.com//www.example.com.au......</p>
  
  <p>I am not sure why the www.http.com is replacing http:</p>
  
  <p>Cheers
  Martin Fuggle</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-04-28T14:03:01.173Z
Comments.Text: What about the other urls, like subscribeURL or optoutURL. If in all urls i suspect something wrong in the general token url formation
Comments.UserDisplayName: Donald Lobo
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-04-28T21:38:18.853Z
Comments.Text: Unsubscribe and Opt Out URLs function correctly. It is only the mailing.viewUrl that returns the faulty URL
Comments.UserDisplayName: Martin Fuggle
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-11-17T22:35:57.867Z
Comments.Text: in 4.6.2 this is a code issue, see:
  http://civicrm.stackexchange.com/questions/3057/is-there-a-bug-when-placing-a-token-inside-quotation-marks-in-civimail-4-6-2
Comments.UserDisplayName: MetroEast
Tags: <tokens>
Title: {mailing.viewUrl} returns faulty URL
ThreadText: # {mailing.viewUrl} returns faulty URL
  
  (Asked by: username_0 on 2015-04-28)
  
  When I click on the {mailing.viewUrl} inside an email the URL formed is as follows:
  
  www.http.com//www.example.com.au......
  
  I am not sure why the www.http.com is replacing http:
  
  Cheers
  username_0
  
  **Tags:** tokens
  
  > **Comments:**
  > **username_1**: What about the other urls, like subscribeURL or optoutURL. If in all urls i suspect something wrong in the general token url formation  
  > **username_0**: Unsubscribe and Opt Out URLs function correctly. It is only the mailing.viewUrl that returns the faulty URL  
  > **username_2**: in 4.6.2 this is a code issue, see: http://civicrm.stackexchange.com/questions/3057/is-there-a-bug-when-placing-a-token-inside-quotation-marks-in-civimail-4-6-2  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2015-04-28. Score: 1
  
  Ooops - my mistake. I had included "http://" in the href before the token. Sorry for the trouble and the answers
  
  > **Comments:**
  > **username_1**: so its fixed, right? Might want to comment and edit the original post  
  > **username_3**: @username_1 Since the question and answer might be helpful to others, I believe proper StackExchange protocol is to [accept this answer](http://blog.stackoverflow.com/2011/07/its-ok-to-ask-and-answer-your-own-questions/). If the question/answer pair is not helpful, then username_0 should delete the original question.  
  
  ---
  
  ### Answer by username_4 on 2015-04-28. Score: 0
  
  Go to Resource URL Settings (**Administer menu > System Settings > Resource URLs**). I'd guess that you'll see an setting there containing a malformed URL.
  
  If not, please update your question with your version number and the values you see in that screen.
  
  > **Comments:**
  > **username_0**: Resource URLs are just fine. Version is 4.5.8  
  
  ---
  
  