I'm having a problem with text filters in Drupal 7. Without any rich text editor installed, if I add the code below in a Full HTML format text area, the html codes get sanitized.
Added: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
Sanitized to: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
When I add the Wysiwyg module with the CFKeditor engine, the sanitization strips out even more:
Added: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
Sanitized to: <p><a href="\">Session One</a> <img src="\" />Logo</p>
The Full HTML text format is configured to:
* Convert URLs into links
* Convert line breaks into HTML (i.e. <br> and <p>)
* Correct faulty and chopped off HTML
I can't find any other configs that might be affecting this. Please help.
Thanks, Tracey
____________ Tracey Hummel University of Arizona University Information Technology Services, Web Services 1077 N Highland Ave, Room 337, Tucson, AZ 85721 (520) 626-5139 tracey@arizona.edu http://tshummel.com/
I tried a fresh install of Drupal. I made no configuration changes and installed no modules. I created a page and pasted into the body: <a href="/session/session-one">Session One</a
After saving the page, I edited it again and found it changed to: <a href="/session/session-one">Session One</a>
I tried it as both Filtered & Full HTML input formats. Both gave the same results. How can you keep this from happening?
Thank you, Tracey
____________ Tracey Hummel University of Arizona University Information Technology Services, Web Services 1077 N Highland Ave, Room 337, Tucson, AZ 85721 (520) 626-5139 tracey@arizona.edu http://tshummel.com/
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Hummel, Tracey S - (thummel) Sent: Wednesday, November 09, 2011 12:34 PM To: support@drupal.org Subject: [support] drupal 7 problem with text encoding
I'm having a problem with text filters in Drupal 7. Without any rich text editor installed, if I add the code below in a Full HTML format text area, the html codes get sanitized.
Added: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
Sanitized to: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
When I add the Wysiwyg module with the CFKeditor engine, the sanitization strips out even more:
Added: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
Sanitized to: <p><a href="\">Session One</a> <img src="\" />Logo</p>
The Full HTML text format is configured to:
* Convert URLs into links
* Convert line breaks into HTML (i.e. <br> and <p>)
* Correct faulty and chopped off HTML
I can't find any other configs that might be affecting this. Please help.
Thanks, Tracey
____________ Tracey Hummel University of Arizona University Information Technology Services, Web Services 1077 N Highland Ave, Room 337, Tucson, AZ 85721 (520) 626-5139 tracey@arizona.edu http://tshummel.com/
Looks like magic quotes or some such php setting might be turned on. In your installation. I'd look for these in your php.ini
Dave
________________________________
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Hummel, Tracey S - (thummel) Sent: Wednesday, November 09, 2011 1:54 PM To: support@drupal.org Subject: Re: [support] drupal 7 problem with text encoding
I tried a fresh install of Drupal. I made no configuration changes and installed no modules. I created a page and pasted into the body: <a href="/session/session-one">Session One</a
After saving the page, I edited it again and found it changed to: <a href="/session/session-one">Session One</a>
I tried it as both Filtered & Full HTML input formats. Both gave the same results. How can you keep this from happening?
Thank you, Tracey
____________
Tracey Hummel
University of Arizona
University Information Technology Services, Web Services
1077 N Highland Ave, Room 337, Tucson, AZ 85721
(520) 626-5139
tracey@arizona.edu
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Hummel, Tracey S - (thummel) Sent: Wednesday, November 09, 2011 12:34 PM To: support@drupal.org Subject: [support] drupal 7 problem with text encoding
I'm having a problem with text filters in Drupal 7. Without any rich text editor installed, if I add the code below in a Full HTML format text area, the html codes get sanitized.
Added: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
Sanitized to: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
When I add the Wysiwyg module with the CFKeditor engine, the sanitization strips out even more:
Added: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
Sanitized to: <p><a href="\">Session One</a> <img src="\" />Logo</p>
The Full HTML text format is configured to:
* Convert URLs into links
* Convert line breaks into HTML (i.e. <br> and <p>)
* Correct faulty and chopped off HTML
I can't find any other configs that might be affecting this. Please help.
Thanks, Tracey
____________
Tracey Hummel
University of Arizona
University Information Technology Services, Web Services
1077 N Highland Ave, Room 337, Tucson, AZ 85721
(520) 626-5139
tracey@arizona.edu
I should've also mentioned that the provided .htaccess in Drupal 7 should turn these things off. It's possible that either:
.htaccess did not get copied into your drupal installtion
AllowOverrides apache directive is not set for your apache installation.
There are other settings in the.htaccess file that should be in place as well.
________________________________
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Metzler, David Sent: Wednesday, November 09, 2011 2:09 PM To: support@drupal.org Subject: Re: [support] drupal 7 problem with text encoding
Looks like magic quotes or some such php setting might be turned on. In your installation. I'd look for these in your php.ini
Dave
________________________________
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Hummel, Tracey S - (thummel) Sent: Wednesday, November 09, 2011 1:54 PM To: support@drupal.org Subject: Re: [support] drupal 7 problem with text encoding
I tried a fresh install of Drupal. I made no configuration changes and installed no modules. I created a page and pasted into the body: <a href="/session/session-one">Session One</a
After saving the page, I edited it again and found it changed to: <a href="/session/session-one">Session One</a>
I tried it as both Filtered & Full HTML input formats. Both gave the same results. How can you keep this from happening?
Thank you, Tracey
____________
Tracey Hummel
University of Arizona
University Information Technology Services, Web Services
1077 N Highland Ave, Room 337, Tucson, AZ 85721
(520) 626-5139
tracey@arizona.edu
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Hummel, Tracey S - (thummel) Sent: Wednesday, November 09, 2011 12:34 PM To: support@drupal.org Subject: [support] drupal 7 problem with text encoding
I'm having a problem with text filters in Drupal 7. Without any rich text editor installed, if I add the code below in a Full HTML format text area, the html codes get sanitized.
Added: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
Sanitized to: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
When I add the Wysiwyg module with the CFKeditor engine, the sanitization strips out even more:
Added: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
Sanitized to: <p><a href="\">Session One</a> <img src="\" />Logo</p>
The Full HTML text format is configured to:
* Convert URLs into links
* Convert line breaks into HTML (i.e. <br> and <p>)
* Correct faulty and chopped off HTML
I can't find any other configs that might be affecting this. Please help.
Thanks, Tracey
____________
Tracey Hummel
University of Arizona
University Information Technology Services, Web Services
1077 N Highland Ave, Room 337, Tucson, AZ 85721
(520) 626-5139
tracey@arizona.edu
Magic quotes is turned on in php.ini. Someone suggested that it might be related to the mod_rewrite. I'm checking with the server admins who host the site [hostrocket] to see if there is anything on their end. It only happens in Drupal 7 sites. Drupal 6 sites on that server do not have a problem.
Tracey
____________ Tracey Hummel University of Arizona University Information Technology Services, Web Services 1077 N Highland Ave, Room 337, Tucson, AZ 85721 (520) 626-5139 tracey@arizona.edu http://tshummel.com/
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Metzler, David Sent: Wednesday, November 09, 2011 3:09 PM To: support@drupal.org Subject: Re: [support] drupal 7 problem with text encoding
Looks like magic quotes or some such php setting might be turned on. In your installation. I'd look for these in your php.ini
Dave
________________________________ From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Hummel, Tracey S - (thummel) Sent: Wednesday, November 09, 2011 1:54 PM To: support@drupal.org Subject: Re: [support] drupal 7 problem with text encoding
I tried a fresh install of Drupal. I made no configuration changes and installed no modules. I created a page and pasted into the body: <a href="/session/session-one">Session One</a
After saving the page, I edited it again and found it changed to: <a href="/session/session-one">Session One</a>
I tried it as both Filtered & Full HTML input formats. Both gave the same results. How can you keep this from happening?
Thank you, Tracey
____________ Tracey Hummel University of Arizona University Information Technology Services, Web Services 1077 N Highland Ave, Room 337, Tucson, AZ 85721 (520) 626-5139 tracey@arizona.edu http://tshummel.com/
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Hummel, Tracey S - (thummel) Sent: Wednesday, November 09, 2011 12:34 PM To: support@drupal.org Subject: [support] drupal 7 problem with text encoding
I'm having a problem with text filters in Drupal 7. Without any rich text editor installed, if I add the code below in a Full HTML format text area, the html codes get sanitized.
Added: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
Sanitized to: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
When I add the Wysiwyg module with the CFKeditor engine, the sanitization strips out even more:
Added: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
Sanitized to: <p><a href="\">Session One</a> <img src="\" />Logo</p>
The Full HTML text format is configured to:
* Convert URLs into links
* Convert line breaks into HTML (i.e. <br> and <p>)
* Correct faulty and chopped off HTML
I can't find any other configs that might be affecting this. Please help.
Thanks, Tracey
____________ Tracey Hummel University of Arizona University Information Technology Services, Web Services 1077 N Highland Ave, Room 337, Tucson, AZ 85721 (520) 626-5139 tracey@arizona.edu http://tshummel.com/
This is really starting to sound like missing .htaccess file.
________________________________
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Hummel, Tracey S - (thummel) Sent: Wednesday, November 09, 2011 2:36 PM To: support@drupal.org Subject: Re: [support] drupal 7 problem with text encoding
Magic quotes is turned on in php.ini. Someone suggested that it might be related to the mod_rewrite. I'm checking with the server admins who host the site [hostrocket] to see if there is anything on their end. It only happens in Drupal 7 sites. Drupal 6 sites on that server do not have a problem.
Tracey
____________
Tracey Hummel
University of Arizona
University Information Technology Services, Web Services
1077 N Highland Ave, Room 337, Tucson, AZ 85721
(520) 626-5139
tracey@arizona.edu
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Metzler, David Sent: Wednesday, November 09, 2011 3:09 PM To: support@drupal.org Subject: Re: [support] drupal 7 problem with text encoding
Looks like magic quotes or some such php setting might be turned on. In your installation. I'd look for these in your php.ini
Dave
________________________________
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Hummel, Tracey S - (thummel) Sent: Wednesday, November 09, 2011 1:54 PM To: support@drupal.org Subject: Re: [support] drupal 7 problem with text encoding
I tried a fresh install of Drupal. I made no configuration changes and installed no modules. I created a page and pasted into the body: <a href="/session/session-one">Session One</a
After saving the page, I edited it again and found it changed to: <a href="/session/session-one">Session One</a>
I tried it as both Filtered & Full HTML input formats. Both gave the same results. How can you keep this from happening?
Thank you, Tracey
____________
Tracey Hummel
University of Arizona
University Information Technology Services, Web Services
1077 N Highland Ave, Room 337, Tucson, AZ 85721
(520) 626-5139
tracey@arizona.edu
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Hummel, Tracey S - (thummel) Sent: Wednesday, November 09, 2011 12:34 PM To: support@drupal.org Subject: [support] drupal 7 problem with text encoding
I'm having a problem with text filters in Drupal 7. Without any rich text editor installed, if I add the code below in a Full HTML format text area, the html codes get sanitized.
Added: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
Sanitized to: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
When I add the Wysiwyg module with the CFKeditor engine, the sanitization strips out even more:
Added: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
Sanitized to: <p><a href="\">Session One</a> <img src="\" />Logo</p>
The Full HTML text format is configured to:
* Convert URLs into links
* Convert line breaks into HTML (i.e. <br> and <p>)
* Correct faulty and chopped off HTML
I can't find any other configs that might be affecting this. Please help.
Thanks, Tracey
____________
Tracey Hummel
University of Arizona
University Information Technology Services, Web Services
1077 N Highland Ave, Room 337, Tucson, AZ 85721
(520) 626-5139
tracey@arizona.edu
The .htaccess file was in place but the .gitignore file was missing. I have no idea why that would cause the problem but everything is working now.
Thanks, Tracey
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Metzler, David Sent: Wednesday, November 09, 2011 4:23 PM To: support@drupal.org Subject: Re: [support] drupal 7 problem with text encoding
This is really starting to sound like missing .htaccess file.
________________________________ From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Hummel, Tracey S - (thummel) Sent: Wednesday, November 09, 2011 2:36 PM To: support@drupal.org Subject: Re: [support] drupal 7 problem with text encoding
Magic quotes is turned on in php.ini. Someone suggested that it might be related to the mod_rewrite. I'm checking with the server admins who host the site [hostrocket] to see if there is anything on their end. It only happens in Drupal 7 sites. Drupal 6 sites on that server do not have a problem.
Tracey
____________ Tracey Hummel University of Arizona University Information Technology Services, Web Services 1077 N Highland Ave, Room 337, Tucson, AZ 85721 (520) 626-5139 tracey@arizona.edu http://tshummel.com/
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Metzler, David Sent: Wednesday, November 09, 2011 3:09 PM To: support@drupal.org Subject: Re: [support] drupal 7 problem with text encoding
Looks like magic quotes or some such php setting might be turned on. In your installation. I'd look for these in your php.ini
Dave
________________________________ From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Hummel, Tracey S - (thummel) Sent: Wednesday, November 09, 2011 1:54 PM To: support@drupal.org Subject: Re: [support] drupal 7 problem with text encoding
I tried a fresh install of Drupal. I made no configuration changes and installed no modules. I created a page and pasted into the body: <a href="/session/session-one">Session One</a
After saving the page, I edited it again and found it changed to: <a href="/session/session-one">Session One</a>
I tried it as both Filtered & Full HTML input formats. Both gave the same results. How can you keep this from happening?
Thank you, Tracey
____________ Tracey Hummel University of Arizona University Information Technology Services, Web Services 1077 N Highland Ave, Room 337, Tucson, AZ 85721 (520) 626-5139 tracey@arizona.edu http://tshummel.com/
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Hummel, Tracey S - (thummel) Sent: Wednesday, November 09, 2011 12:34 PM To: support@drupal.org Subject: [support] drupal 7 problem with text encoding
I'm having a problem with text filters in Drupal 7. Without any rich text editor installed, if I add the code below in a Full HTML format text area, the html codes get sanitized.
Added: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
Sanitized to: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
When I add the Wysiwyg module with the CFKeditor engine, the sanitization strips out even more:
Added: <a href="/session/session-one">Session One</a> <img src="/files/logo.gif">Logo
Sanitized to: <p><a href="\">Session One</a> <img src="\" />Logo</p>
The Full HTML text format is configured to:
* Convert URLs into links
* Convert line breaks into HTML (i.e. <br> and <p>)
* Correct faulty and chopped off HTML
I can't find any other configs that might be affecting this. Please help.
Thanks, Tracey
____________ Tracey Hummel University of Arizona University Information Technology Services, Web Services 1077 N Highland Ave, Room 337, Tucson, AZ 85721 (520) 626-5139 tracey@arizona.edu http://tshummel.com/
On Wed, 2011-11-09 at 14:36 -0800, Hummel, Tracey S - (thummel) wrote:
Magic quotes is turned on in php.ini. Someone suggested that it might be related to the mod_rewrite. I’m checking with the server admins who host the site [hostrocket] to see if there is anything on their end. It only happens in Drupal 7 sites. Drupal 6 sites on that server do not have a problem.
More info about magic quotes, http://aaroncameron.net/article.html?aID=59
0.0b
Drupal 7 is posing quite a challenge if you open your site for users to register.
1. When a user creates account he doesn't get any message that account has been created or a mail is sent. The user is redirected to the home page.
2. The email send to the user has his user name and instead of password it simply says 'Your Password.
Help please. I want 1. Once user creates account he sees a message that an email is sent. 2. The mail must carry a password.
Note: Tried LoginToboggan, doesn't work well.
Swapnil