Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When molding URL, MOLD/ALL (and MOLD) does not yield recognizable string sometimes #2010

Closed
Siskin-Bot opened this issue Feb 15, 2020 · 1 comment
Labels
Datatype: url! duplicate This issue or pull request already exists Status.important Type.bug

Comments

@Siskin-Bot
Copy link
Collaborator

Submitted by: Ladislav

When molding certain URL's both MOLD/ALL as well as MOLD yield strings that aren't recognizable as URL's. MOLD/ALL has to be corrected.

The question being whether to adjust MOLD as well.

mold/all #[url! ""] ; == "" ; {#[url! ""]} expected!
mold/all #[url! "a"] ; == "a" ; {#[url! "a"]} expected!
mold/all #[url! " "] ; == " " ; {#[url! " "]} expected!
mold/all #[url! "12:45"] ; == "12:45" ; {#[url! "12:45"]} expected!

Imported from: CureCode [ Version: r3 master Type: Bug Platform: All Category: Datatype Reproduce: Always Fixed-in:none ]
Imported from: metaeducation#2010

Comments:

Rebolbot commented on Apr 4, 2013:

Submitted by: BrianH

Do you want this just for url! or also for other series types with limited syntax, such as file!, email! and the path types? There are other types that don't MOLD properly if they aren't values that were specified in normal non-construction-spec syntax. Do we want to make this a general rule?


Rebolbot commented on Apr 4, 2013:

Submitted by: Ladislav

One part is MOLD/ALL. For MOLD/ALL the resulting string must be recognizable as representing the value of the specific datatype, meaning that MOLD/ALL processed file must be recognizable as a file, MOLD/ALL processed email must be recognizable as an email, MOLD/ALL processed path must be recognizable as a path. I am not sure what the preferences are for MOLD (and don't care much)


Rebolbot mentioned this issue on Jan 12, 2016:
MOLD/ALL does not work correctly for snippets of some series types


Rebolbot added Type.bug and Status.important on Jan 12, 2016


@Oldes
Copy link
Owner

Oldes commented Mar 30, 2020

Closing this one as it is covered in the: #2022

@Oldes Oldes closed this as completed Mar 30, 2020
@Oldes Oldes added the duplicate This issue or pull request already exists label Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datatype: url! duplicate This issue or pull request already exists Status.important Type.bug
Projects
None yet
Development

No branches or pull requests

2 participants