href value changed upon save to...

User 3160786 Photo


Registered User
4 posts

I need to have an href="file:///\\ServerName\Foldername\" (which works) in order to go to a directory listing on one of our servers. But, in CoffeeCup if I enter that value, when I save the page, it gets 'corrected' to "//ServerName/Foldername/" (which doesn't work). Is there a way to suppress this 'correction'? I can't find it in settings.

Thanks for any thoughts.
Jon
User 187934 Photo


Senior Advisor
20,244 posts

Hi Jon, That's odd. I tried adding it to the custom markup and it still corrects it. I can't find a way to override that behavior. Bummer
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 187934 Photo


Senior Advisor
20,244 posts

I found a way to get it to work.
Save it as a text file first.
Then reopen it and save as a html or php or what ever.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 187934 Photo


Senior Advisor
20,244 posts

Now that I did that once. it doesn't correct it even on new pages and paste <a href="file://///ServerName/Foldername/"></a> and save it as html. Test to see if you get the same result.
Wait that's not the same now.:lol:
Nope it corrects. I can't find a setting to shut auto correct off.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 3160786 Photo


Registered User
4 posts

Thanks for looking at this Eric. Even though it's mutated a bit, i'll give "file://///ServerName/Foldername/" and your general approach a shot. My browser likes "file://///ServerName/Foldername/" when i type it in directly, so mmmmaaybee....
Will get back to you...
User 3160786 Photo


Registered User
4 posts

Well, that didn't work :(
Guess I'll just have to make a script or something to 'take care of it in post'. Thanks for your efforts!
-jon
User 379556 Photo


Registered User
1,567 posts

I'm wondering whether changing it to
<a>href=&quot;file:///\\ServerName\Foldername\&quot;</a>
would work.

Frank
User 3160786 Photo


Registered User
4 posts

I couldn't get it to work. The editor still changes it to the other format upon Save.

This didn't get me anywhere, because I guess it's case-sensitive on the client side, BUT: when I changed it to 'File ' or "FILE" the editor wouldn't change it, but it also didn't work. I wonder if this 'correction' is related to the HTML version (I'm using HTML5), although I haven't found any documentation indicating that as a 'thing'...

Anyhoo, i've kind of set up a tool to tidy this, and some other things up, so probably won't worry about it much more. Thanks for your thoughts!
User 379556 Photo


Registered User
1,567 posts

<a>href=&quot;file:///\\ServerName\Foldername\&quot;</a> still doesn't get changed on Save for me.

Frank
Attachments:
User 187934 Photo


Senior Advisor
20,244 posts

Frank Cook wrote:
<a>href=&quot;file:///\\ServerName\Foldername\&quot;</a> still doesn't get changed on Save for me.

Frank


Thanks Frank,
That seems to work for me. I had both links on a page and when I saved the page, it left your version as is.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.