I was really amazed and kind of incredulous that they let him urinate in his space suit, I obviously reluctant to believe the great American rocket scientists could have forgotten about such basic human needs (or did they believe the super-human astronaut would be free from animal urges?). According to available accounts, Alan Shepard, not having other options, peed into his space suit, short circuiting electronic sensors designed to monitor his heart and respiration.
Yes, our space heroes and many others were very much at risk. There was a tremendous risk of death in space travel (and there still is), as well as other hazards. The astronauts put themselves in danger in order to further science and our understanding of space, life, the universe, everything! The scientists and researchers at the time did their best, but clearly they missed some important things that are handled better today.
No, poor planning did not create an undue health risk. In the early days of the space program, everything was new. Everything the astronauts did was the first time an American had been subjected to that situation. The sheer excitement and drama of it all could cause a man to pee himself, but not because the health risks hadn't been properly planned.
Early astronauts might have been exposed to health risks but it was not due to poor planning. NASA scientists and engineers spent countless hours carefully planning each space mission. Everything was thought out in advance - no detail left out. However, there are always health risks when embarking on new missions; but it was not due to a lack of planning.